Package Details: hcc 3.0.0-1

Git Clone URL: https://aur.archlinux.org/hcc.git (read-only, click to copy)
Package Base: hcc
Description: HCC is an Open Source, Optimizing C++ Compiler for Heterogeneous Compute
Upstream URL: https://github.com/RadeonOpenCompute/hcc
Licenses: NCSAOSL
Conflicts: hcc
Provides: hcc
Submitter: leidola
Maintainer: farnoy (naetherm)
Last Packager: naetherm
Votes: 8
Popularity: 0.58
First Submitted: 2017-07-25 21:12
Last Updated: 2020-01-09 18:03

Latest Comments

1 2 3 Next › Last »

acxz commented on 2020-01-09 22:52

After the update to 3.0.0, this package is not building for me. This is the full output: https://gist.github.com/acxz/14fbafe807764b8e8b7d09b40ec277e0

farnoy commented on 2020-01-09 17:55

Thanks for notifying me, I've added them as co-maintainer now.

acxz commented on 2020-01-09 17:54

@farnoy can you update this package or if not can you add naetherm as a maintainer? Would really love for this package to get updated.

naetherm commented on 2019-11-27 18:47

Created a compiling PKGBUILD for 2.10.0: https://gist.github.com/naetherm/b5cd5987bbffd9775e8f0a70f67c970f

naetherm commented on 2019-10-19 09:57

Created a PKGBUILD for 2.9.0: https://gist.github.com/naetherm/0d48a300a8c2feb52a1e9b20b133efe3

Unfortunately, there is still a linking error: : && /xxx/hcc/src/build/compiler/bin/clang++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -O3 -DNDEBUG -Wl,-O1,--sort-common,--as-needed,-z,relro,-z,now --amdgpu-target=gfx803 --amdgpu-target=gfx900 --amdgpu-target=gfx906 cmake-tests/CMakeFiles/cmake-test.dir/cmake-test.cpp.o -o bin/cmake-test -Wl,-rpath,/xxx/hcc/src/build/lib:/opt/rocm/lib lib/libhc_am.so.2.9 -hc -L /xxx/hcc/src/build/lib -Wl,-rpath /xxx/hcc/src/build/lib -Wl,--whole-archive lib/libmcwamp.so.2.9 -Wl,--no-whole-archive -ldl -lm /opt/rocm/lib/libhsa-runtime64.so && : ld: /xxx/hcc/src/build/compiler/bin/../../lib/libhc_am.so: undefined reference to `hsa_amd_memory_lock_to_pool'

rigred commented on 2019-08-20 09:36

Below PKGBUILD gist however does not build yet. Because of course there are bugs with the upstream build process.

rigred commented on 2019-08-20 09:28

https://gist.githubusercontent.com/rigred/e1733744168f7547c4be0354ff99f66e/raw/c45c408e82a8318c739143a53e113886f2dc77ae/PKGBUILD%2520hcc

In future this should be trivially updatable with just a pkgver change and updpkgsums. Can also change it to have version numbers for each dependency incase they run out of sync at some stage.

Made 2.7.0 build that fixes up a few things about the PKGBUILD. But I gotta say the way the AMD devs have packaged their files on github is extremely silly. They used reponame/roc-hcc-$pkgver or reponame/roc-ocl-$pkgver everywhere. So when creating source dir with PKGBUILD we have to uniquely rename and shuffle everything to keep names from clashing.

aviallon commented on 2019-07-14 15:38

Version 2.6.0 is out

farnoy commented on 2019-07-09 10:40

@steinbuch Looks like this function was added in rocr-runtime 2.4.0, do you have that up to date? https://github.com/RadeonOpenCompute/ROCR-Runtime/blame/master/src/core/inc/hsa_ext_amd_impl.h#L176

steinbuch commented on 2019-07-07 09:38

Very recently I'm getting a build failure:

[4586/4809] Building CXX object lib/hsa/CMakeFiles/hc_am.dir/hc_am.cpp.o FAILED: lib/hsa/CMakeFiles/hc_am.dir/hc_am.cpp.o /build/hcc/src/build/compiler/bin/clang++ -DGTEST_HAS_TR1_TUPLE=0 -DHC_PRINTF_SUPPORT_ENABLE -Dhc_am_EXPORTS -Iinclude -I/build/hcc/src/hcc/include -I/build/hcc/src/hcc/compiler/include -Ilib -isystem /build/hcc/src/hcc/utils -isystem /opt/rocm/include -march=native -mtune=native -O3 -pipe -fstack-protector-strong -fno-plt -O3 -DNDEBUG -fPIC -std=c++11 -hc -fPIC -gline-tables-only -MD -MT lib/hsa/CMakeFiles/hc_am.dir/hc_am.cpp.o -MF lib/hsa/CMakeFiles/hc_am.dir/hc_am.cpp.o.d -o lib/hsa/CMakeFiles/hc_am.dir/hc_am.cpp.o -c /build/hcc/src/hcc/lib/hsa/hc_am.cpp /build/hcc/src/hcc/lib/hsa/hc_am.cpp:626:22: error: use of undeclared identifier 'hsa_amd_memory_lock_to_pool' hsa_status = hsa_amd_memory_lock_to_pool(hostPtr, size, &agents[0], num_visible_ac, alloc_region, 0, &devPtr); ^ 1 error generated. /build/hcc/src/hcc/lib/hsa/hc_am.cpp:626:22: error: use of undeclared identifier 'hsa_amd_memory_lock_to_pool' hsa_status = hsa_amd_memory_lock_to_pool(hostPtr, size, &agents[0], num_visible_ac, alloc_region, 0, &devPtr); ^ 1 error generated.