forked from spack/spack
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
amdlibflame: update from upstream/develop
amdlibflame: needs modern make See flame/libflame#55
- Loading branch information
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other | ||
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other | ||
# Spack Project Developers. See the top-level COPYRIGHT file for details. | ||
# | ||
# SPDX-License-Identifier: (Apache-2.0 OR MIT) | ||
# ----------------------------------------------------------------------------\ | ||
|
||
from spack.package import * | ||
from spack.pkg.builtin.libflame import LibflameBase | ||
|
||
|
@@ -28,15 +29,22 @@ class Amdlibflame(LibflameBase): | |
In combination with BLIS library which includes optimizations | ||
for the AMD EPYC processor family, libFLAME enables running | ||
high performing LAPACK functionalities on AMD platform. | ||
LICENSING INFORMATION: By downloading, installing and using this software, | ||
you agree to the terms and conditions of the AMD AOCL-libFLAME license | ||
agreement. You may obtain a copy of this license agreement from | ||
https://www.amd.com/en/developer/aocl/blis/libflame-4-0-eula.html | ||
https://www.amd.com/en/developer/aocl/blis/libflame-eula.html | ||
""" | ||
|
||
_name = "amdlibflame" | ||
homepage = "https://developer.amd.com/amd-cpu-libraries/blas-library/#libflame" | ||
url = "https://github.com/amd/libflame/archive/3.0.tar.gz" | ||
git = "https://github.com/amd/libflame.git" | ||
|
||
maintainers = ["amd-toolchain-support"] | ||
maintainers("amd-toolchain-support") | ||
|
||
version("4.0", sha256="bcb05763aa1df1e88f0da5e43ff86d956826cbea1d9c5ff591d78a3e091c66a4") | ||
version("3.2", sha256="6b5337fb668b82d0ed0a4ab4b5af4e2f72e4cedbeeb4a8b6eb9a3ef057fb749a") | ||
version("3.1", sha256="4520fb93fcc89161f65a40810cae0fa1f87cecb242da4a69655f502545a53426") | ||
version("3.0.1", sha256="5859e7b39ffbe73115dd598b035f212d36310462cf3a45e555a5087301710776") | ||
|
@@ -55,6 +63,7 @@ class Amdlibflame(LibflameBase): | |
provides("[email protected]", when="@2:") | ||
|
||
depends_on("python+pythoncmd", type="build") | ||
depends_on("gmake@4:", when="@3.0.1,3.1:", type="build") | ||
|
||
@property | ||
def lapack_libs(self): | ||
|