Package Details: roct-thunk-interface 2.3.0-1

Git Clone URL: https://aur.archlinux.org/roct-thunk-interface.git (read-only)
Package Base: roct-thunk-interface
Description: ROCm HSA
Upstream URL: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface
Licenses: unknown
Submitter: farnoy
Maintainer: farnoy
Last Packager: farnoy
Votes: 6
Popularity: 2.456575
First Submitted: 2018-12-21 15:29
Last Updated: 2019-04-13 12:07

Latest Comments

farnoy commented on 2019-03-21 12:08

Thanks PedroHLC, I included the fix in 2.2.0-2

PedroHLC commented on 2019-03-20 14:55

pciutils is required as a dependency

-- Checking for module 'libpci'
--   Package 'libpci', required by 'virtual:world', not found
CMake Error at /usr/share/cmake-3.14/Modules/FindPkgConfig.cmake:457 (message):
  A required package was not found
Call Stack (most recent call first):
  /usr/share/cmake-3.14/Modules/FindPkgConfig.cmake:642 (_pkg_check_modules_internal)
  CMakeLists.txt:106 (pkg_check_modules)

ulyssesrr commented on 2019-03-16 02:44

PKGBUILD for 2.2.0: https://gist.github.com/ulyssesrr/4804324c2236bd1b5f3975e6a06235c9

Also added pkgver() to auto track the tag version.

farnoy commented on 2019-01-27 14:05

@ulyssesrr Thanks for the patch. I was not able to reproduce it before as I was still on cmake 3.12 I think. I applied your patch and bumped pkgrel. 2.0.0-3 should fix this issue.

I wasn't sure about applying the patch in prepare(). Hope it won't cause issues with some AUR helpers out there.

ulyssesrr commented on 2019-01-27 00:42

Had the same issue as mikelynch. Fixed by using the following patch CMakeLists.txt: https://gist.github.com/ulyssesrr/d7c93e121bc9c5c7a4e0564be5e4ac21

@farnoy: Heres the full git diff with the patch and the updated PKGBUILD: https://gist.github.com/ulyssesrr/ff3e5942db72be7c21481d801814a07b

Upstream Issue: https://github.com/RadeonOpenCompute/ROCT-Thunk-Interface/issues/28

farnoy commented on 2019-01-25 10:29

I have no idea what causes this. Can you report this upstream? They should be able to help.

mikelynch commented on 2019-01-25 04:15

Hi farnoy,

I'm still getting build errors with this:

[4/17] cd /home/mikelynch/.cache/yay/roct-thunk-interface/src/build/hsakmt-roct-dev && /usr/bin/...pt/rocm" -DCPACK_RPM_PACKAGE_REQUIRES="hsakmt-roct" -DCPACK_PACKAGING_INSTALL_PREFIX="/opt/rocm"
FAILED: CMakeFiles/build-dev 
cd /home/mikelynch/.cache/yay/roct-thunk-interface/src/build/hsakmt-roct-dev && /usr/bin/cmake -DSOURCE_DIR="/home/mikelynch/.cache/yay/roct-thunk-interface/src/ROCT-Thunk-Interface" -DCMAKE_INSTALL_PREFIX="/home/mikelynch/.cache/yay/roct-thunk-interface/pkg/roct-thunk-interface/opt/rocm" -DCPACK_RPM_PACKAGE_REQUIRES="hsakmt-roct" -DCPACK_PACKAGING_INSTALL_PREFIX="/opt/rocm"
CMake Error: No source or binary directory provided
[15/17] Building C object CMakeFiles/hsakmt.dir/src/fmm.c.o
ninja: build stopped: subcommand failed.
==> ERROR: A failure occurred in build().
    Aborting...
Error making: roct-thunk-interface

I'm not really familiar with cmake or ninja. Any ideas?

farnoy commented on 2019-01-14 15:15

Hey doux, yes it appears it's a dependency, I will add it appropriately.

Hey limadm, it seems to be the same thing, although I'm not sure about the precise differences (besides the version). This other package does some things with headers that I do not think are necessary.

limadm commented on 2019-01-11 21:25

Hi! Is this the same as aur/hsakmt-roct (outdated as of now)? If so, shouldn't the authors merge the packages?

doux commented on 2019-01-11 21:22

Hi farnoy,

Is numactl a dependency?

When I built roct-thunk-interface the first time (in QEMU VM) I got an error:


..... fatal error: numaif.h: No such file or directory

include <numaif.h>
     ^~~~~~~~~~

After installing the numactl package I was able to build successfully:

https://www.archlinux.org/packages/extra/x86_64/numactl/