Package Details: rocrand 2.6.0-1

Git Clone URL: https://aur.archlinux.org/rocrand.git (read-only)
Package Base: rocrand
Description: RAND library for HIP programming language
Upstream URL: https://github.com/ROCmSoftwarePlatform/rocRAND
Submitter: farnoy
Maintainer: farnoy
Last Packager: farnoy
Votes: 2
Popularity: 0.136339
First Submitted: 2019-02-15 12:05
Last Updated: 2019-07-14 19:58

Dependencies (4)

Required by (0)

Sources (1)

Latest Comments

farnoy commented on 2019-05-15 00:58

@Mushoz Is your HIP up to date? This might be a legitimate problem about the built files referencing build directory (which for you was in /var/tmp). But I don't have this error when building rocrand.

Mushoz commented on 2019-05-05 15:29

I am unable to install this package. I am getting the following error:

Preparing... Cloning rocrand build files... Checking rocrand dependencies... Building rocrand... ==> Making package: rocrand 2.3.0-1 (Sun 05 May 2019 05:25:51 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found 2.3.0.tar.gz ==> Validating source files with sha256sums... 2.3.0.tar.gz ... Passed ==> Removing existing $srcdir/ directory... ==> Extracting sources... -> Extracting 2.3.0.tar.gz with bsdtar ==> Removing existing $pkgdir/ directory... ==> Starting build()... -- The CXX compiler identification is Clang 9.0.0 -- Check for working CXX compiler: /opt/rocm/hcc/bin/hcc -- Check for working CXX compiler: /opt/rocm/hcc/bin/hcc -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Warning (dev) at CMakeLists.txt:46 (set): implicitly converting 'BOOLEAN' to 'STRING' type. This warning is for project developers. Use -Wno-dev to suppress it.

-- Found HIP: /opt/rocm/hip (found version "1.5.19146") -- Found PkgConfig: /usr/bin/pkg-config (found version "1.6.1") CMake Error at /opt/rocm/hip/lib/cmake/hip/hip-targets.cmake:96 (message): The imported target "hip::hip_hcc_static" references the file

 "/var/tmp/pamac-build-jaap/hip/pkg/hip/opt/rocm/hip/lib/libhip_hcc_static.a"

but this file does not exist. Possible reasons include:

  • The file was deleted, renamed, or moved to another location.

  • An install or uninstall procedure did not complete successfully.

  • The installation package was faulty and contained

    "/opt/rocm/hip/lib/cmake/hip/hip-targets.cmake"

but not all the files it references.

Call Stack (most recent call first): /opt/rocm/hip/lib/cmake/hip/hip-config.cmake:76 (include) cmake/VerifyCompiler.cmake:42 (find_package) CMakeLists.txt:49 (include)

-- Configuring incomplete, errors occurred! See also "/var/tmp/pamac-build-jaap/rocrand/src/build/CMakeFiles/CMakeOutput.log". ==> ERROR: A failure occurred in build(). Aborting...

ulyssesrr commented on 2019-03-11 02:12

Hi farnoy, /etc/ld.so.conf.d/rocrand.conf is pointing to /opt/rocm/rocRAND/lib/ should be /opt/rocm/rocrand/lib/

Since this package is also including libhiprand it also needs to be added into /etc/ld.so.conf.d/

Here the fully fixed PKGBUILD: https://gist.github.com/ulyssesrr/d422dfcb76c967444f449b75bc739cf1

Or just the patch for the current PKGBUILD: https://gist.github.com/ulyssesrr/ef479770ed6a40f41c02f2fa3f8941b5

I can help you mantain the rocm related packages if you would like. As always thx for your work.

farnoy commented on 2019-03-07 19:36

Thanks for reaching out! I have bumped the version and stopped building tests, seems to work fine so far.

ex-rzr commented on 2019-02-28 04:54

Hi!

I just added a new tag: v1.8.2 (https://github.com/ROCmSoftwarePlatform/rocRAND/releases). The main change is support for gfx906 (Vega20) architecture. Could you update the package?

Also you can add -DBUILD_TEST=OFF to cmake call for faster building (unless you want to be sure that tests can be built).