Changes
3 changed files (+18/-53)
-
-
@@ -1,18 +1,17 @@pkgbase = hipblas pkgdesc = ROCm BLAS marshalling library pkgver = 3.3.0 pkgrel = 2 pkgver = 3.5.0 pkgrel = 1 url = https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipblas arch = x86_64 license = MIT makedepends = cmake makedepends = hcc makedepends = rocminfo depends = hip-rocclr depends = rocblas depends = hip-hcc source = hipblas-3.3.0.tar.gz::https://github.com/ROCmSoftwarePlatform/hipBLAS/archive/rocm-3.3.0.tar.gz source = hipblas_hsa.patch sha256sums = 7be4f69749fb0b8deeaf47615f2c1ffbeee15f9cd6ef14cfea2a550cb0347a50 sha256sums = d5206ce084f065f860ba1b1f9dc860c1500d9d4cc0b92473e1072ad819e8148d depends = rocsolver source = hipblas-3.5.0.tar.gz::https://github.com/ROCmSoftwarePlatform/hipBLAS/archive/rocm-3.5.0.tar.gz sha256sums = d451da80beb048767da71a090afceed2e111d01b3e95a7044deada5054d6e7b1 pkgname = hipblas
-
-
-
@@ -1,41 +1,30 @@# Maintainer: Markus Näther <naether.markus@gmail.com> pkgname=hipblas pkgver=3.3.0 pkgrel=2 pkgver=3.5.0 pkgrel=1 pkgdesc='ROCm BLAS marshalling library' arch=('x86_64') url='https://rocmdocs.amd.com/en/latest/ROCm_Libraries/ROCm_Libraries.html#hipblas' license=('MIT') depends=('rocblas' 'hip-hcc') makedepends=('cmake' 'hcc') depends=('hip-rocclr' 'rocblas' 'rocsolver') makedepends=('cmake' 'rocminfo') _git='https://github.com/ROCmSoftwarePlatform/hipBLAS' source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz" 'hipblas_hsa.patch') sha256sums=('7be4f69749fb0b8deeaf47615f2c1ffbeee15f9cd6ef14cfea2a550cb0347a50' 'd5206ce084f065f860ba1b1f9dc860c1500d9d4cc0b92473e1072ad819e8148d') prepare() { cd "$srcdir/hipBLAS-rocm-$pkgver" patch -Np1 -i "$srcdir/hipblas_hsa.patch" } source=("$pkgname-$pkgver.tar.gz::$_git/archive/rocm-$pkgver.tar.gz") sha256sums=('d451da80beb048767da71a090afceed2e111d01b3e95a7044deada5054d6e7b1') build() { mkdir -p build cd build CXX=/opt/rocm/hcc/bin/hcc \ cmake -DCMAKE_INSTALL_PREFIX=/opt/rocm/hipblas \ CXX=/opt/rocm/hip/bin/hipcc \ cmake -B build -Wno-dev \ -DCMAKE_INSTALL_PREFIX=/opt/rocm \ -Damd_comgr_DIR=/opt/rocm/lib/cmake/amd_comgr \ -DBUILD_CLIENTS_SAMPLES=OFF \ -DBUILD_CLIENTS_TESTS=OFF \ "$srcdir/hipBLAS-rocm-$pkgver" make make -C build } package() { cd "$srcdir/build" make DESTDIR="$pkgdir" install DESTDIR="$pkgdir" make -C build install install -Dm644 /dev/stdin "$pkgdir/etc/ld.so.conf.d/hipblas.conf" <<EOF /opt/rocm/hipblas/lib
-
-
hipblas/hipblas_hsa.patch (deleted)
-
@@ -1,23 +0,0 @@diff --unified --recursive --text hipBLAS-rocm-3.0/library/CMakeLists.txt hipBLAS-rocm-3.0/library/CMakeLists.txt --- hipBLAS-rocm-3.0/library/CMakeLists.txt 2019-12-07 01:18:42.000000000 +0100 +++ hipBLAS-rocm-3.0/library/CMakeLists.txt 2020-02-01 14:57:05.980017802 +0100 @@ -77,6 +77,7 @@ set( HIPBLAS_CONFIG_DIR "\${CPACK_PACKAGING_INSTALL_PREFIX}/${CMAKE_INSTALL_LIBDIR}" CACHE PATH "Path placed into ldconfig file" ) + rocm_create_package( NAME ${package_name} DESCRIPTION "Radeon Open Compute BLAS marshalling library" diff --unified --recursive --text hipBLAS-rocm-3.0/library/src/CMakeLists.txt hipBLAS-rocm-3.0/library/src/CMakeLists.txt --- hipBLAS-rocm-3.0/library/src/CMakeLists.txt 2019-12-07 01:18:42.000000000 +0100 +++ hipBLAS-rocm-3.0/library/src/CMakeLists.txt 2020-02-01 14:57:13.314001035 +0100 @@ -87,6 +87,8 @@ set_target_properties( hipblas PROPERTIES CXX_VISIBILITY_PRESET "hidden" VISIBILITY_INLINES_HIDDEN ON ) generate_export_header( hipblas EXPORT_FILE_NAME ${PROJECT_BINARY_DIR}/include/hipblas-export.h ) +include_directories("/opt/rocm/hsa/include") + # Following Boost conventions of prefixing 'lib' on static built libraries, across all platforms if( NOT BUILD_SHARED_LIBS ) set_target_properties( hipblas PROPERTIES PREFIX "lib" )
-