-
Notifications
You must be signed in to change notification settings - Fork 68
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
5 changed files
with
79 additions
and
61 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
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,6 +1,6 @@ | ||
libamdhip64.so.5 | ||
libamdhip64.so.6 | ||
libc.so.6 | ||
libgcc_s.so.1 | ||
librocblas.so.0 | ||
librocblas.so.4 | ||
librocsolver.so.0 | ||
libstdc++.so.6 |
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
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,48 +1,31 @@ | ||
name : hipsolver | ||
version : 5.5.1 | ||
release : 3 | ||
version : 2.0.0 | ||
release : 4 | ||
source : | ||
- https://github.com/ROCmSoftwarePlatform/hipSOLVER/archive/refs/tags/rocm-5.5.1.tar.gz : 826bd64a4887176595bb7319d9a3612e7327602efe1f42aa3f2ad0e783d1a180 | ||
- https://github.com/ROCm/hipSOLVER/archive/refs/tags/rocm-6.0.0.tar.gz : 385849db02189d5e62096457e52ae899ae5c1ae7d409dc1da61f904d8861b48c | ||
homepage : https://github.com/ROCmSoftwarePlatform/hipSOLVER | ||
license : MIT | ||
component : programming.library | ||
summary : ROCm SOLVER marshalling library | ||
description: | | ||
hipSOLVER is a LAPACK marshalling library, with multiple supported backends. It sits between the application and a 'worker' LAPACK library, marshalling inputs into the backend library and marshalling results back to the application. hipSOLVER exports an interface that does not require the client to change, regardless of the chosen backend. Currently, hipSOLVER supports rocSOLVER and cuSOLVER as backends. | ||
clang : yes | ||
builddeps : | ||
- rocblas-devel | ||
- rocm-cmake | ||
- rocm-hip-devel | ||
- rocm-hip | ||
- rocsolver-devel | ||
- rocblas-devel | ||
environment: | | ||
declare -A rocm_vars | ||
rocm_vars=( | ||
["HIP_DEVICE_LIB_PATH"]="/usr/lib64/amdgcn/bitcode" | ||
["DEVICE_LIB_PATH"]="/usr/lib64/amdgcn/bitcode" | ||
["HIP_CLANG_PATH"]="/usr/bin" | ||
["HIP_COMPILER"]="clang" | ||
["HIP_LIB_PATH"]="/usr/lib64" | ||
["HIP_PATH"]="/usr" | ||
["HIP_PLATFORM"]="amd" | ||
["HIP_ROCCLR_HOME"]="/usr" | ||
["ROCM_PATH"]="/usr" | ||
["BUILD_FILE_REORG_BACKWARD_COMPATIBILITY"]="OFF" | ||
["HIPCC_VERBOSE"]="0" | ||
# ["AMDGPU_TARGETS"]="gfx1030" | ||
# ["HCC_AMDGPU_TARGETS"]="gfx1030" | ||
) | ||
export CXXFLAGS="${CXXFLAGS/-D_FORTIFY_SOURCE=2 -fstack-protector-strong --param=ssp-buffer-size=32/-fcf-protection=none}" | ||
for name in "${!rocm_vars[@]}"; do | ||
export "$name"="${rocm_vars[$name]}"; | ||
export ROCM_CMAKE_FLAGS="$ROCM_CMAKE_FLAGS -D$name=${rocm_vars[$name]}"; | ||
done | ||
export ROCM_PATH=/usr | ||
export HIP_CLANG_PATH=/usr/lib64/llvm-rocm/bin | ||
export DEVICE_LIB_PATH=/usr/lib64/amdgcn/bitcode | ||
setup : | | ||
%cmake_ninja $ROCM_CMAKE_FLAGS | ||
%cmake_ninja -L \ | ||
-DCMAKE_INSTALL_LIBDIR=lib%LIBSUFFIX% \ | ||
-DROCM_SYMLINK_LIBS=OFF \ | ||
-DAMDGPU_TARGETS="%AMDGPUTARGETS%" | ||
build : | | ||
%ninja_build | ||
install : | | ||
%ninja_install | ||
mv $installdir/usr/lib $installdir/%libdir% | ||
rm -r $installdir/usr/hipsolver |
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