Package Details: hcc 3.3.0-3

Git Clone URL: https://aur.archlinux.org/hcc.git (read-only, click to copy)
Package Base: hcc
Description: C++ Compiler for Heterogeneous Compute
Upstream URL: https://github.com/RadeonOpenCompute/hcc
Licenses: custom:NCSAOSL
Submitter: leidola
Maintainer: rsa (naetherm, neeshy)
Last Packager: acxz
Votes: 10
Popularity: 0.76
First Submitted: 2017-07-25 21:12
Last Updated: 2020-05-02 13:51

Pinned Comments

acxz commented on 2020-03-02 19:59

Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.

Latest Comments

1 2 3 Next › Last »

acxz commented on 2020-03-02 19:59

Development is on Github: https://github.com/rocm-arch/rocm-arch Please open issues and PRs there instead of commenting.

gen-ius commented on 2020-03-02 16:37

Hello, I'm getting this build failure error:

[1661/5463] Building CXX object compiler/projects/compiler-rt/lib/sanitizer_c...RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_posix.cpp.o FAILED: compiler/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_posix.cpp.o /usr/bin/c++ -DHAVE_RPC_XDR_H=0 -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Icompiler/projects/compiler-rt/lib/sanitizer_common -I/home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler-rt/lib/sanitizer_common -Iinclude -I/home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/include -I/home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler/include -I/usr/include/libxml2 -Icompiler/include -I/home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler-rt/lib/sanitizer_common/.. -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -fPIC -fvisibility-inlines-hidden -Werror=date-time -std=c++14 -Wall -Wextra -Wno-unused-parameter -Wwrite-strings -Wcast-qual -Wno-missing-field-initializers -pedantic -Wno-long-long -Wimplicit-fallthrough -Wno-maybe-uninitialized -Wno-class-memaccess -Wno-noexcept-type -Wdelete-non-virtual-dtor -Wno-comment -fdiagnostics-color -ffunction-sections -fdata-sections -Wall -std=c++14 -Wno-unused-parameter -O3 -DNDEBUG -m32 -fPIC -fno-builtin -fno-exceptions -fomit-frame-pointer -funwind-tables -fno-stack-protector -fvisibility=hidden -fno-lto -O3 -g -Wno-variadic-macros -Wno-non-virtual-dtor -fno-rtti -Wframe-larger-than=570 -MD -MT compiler/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_posix.cpp.o -MF compiler/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_posix.cpp.o.d -o compiler/projects/compiler-rt/lib/sanitizer_common/CMakeFiles/RTSanitizerCommonNoTermination.i386.dir/sanitizer_platform_limits_posix.cpp.o -c /home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp In file included from /home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler-rt/lib/sanitizer_common/sanitizer_platform_limits_posix.cpp:162: /home/andrea/build/hcc/src/hcc-roc-hcc-2.10.0/compiler-rt/lib/sanitizer_common/sanitizer_internal_defs.h:342:72: error: narrowing conversion of ‘-1’ from ‘int’ to ‘unsigned int’ [-Wnarrowing] 342 | typedef char IMPL_PASTE(assertion_failed_##_, line)[2*(int)(pred)-1] | ^

pix3l commented on 2020-02-12 23:17

Hi, Anybody got that packaged in his/her repo?

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