Package Details: aocc 5.0.0-2

Git Clone URL: https://aur.archlinux.org/aocc.git (read-only, click to copy)
Package Base: aocc
Description: AMD Optimizing C/C++ Compiler
Upstream URL: https://developer.amd.com/amd-aocc/
Licenses: custom
Submitter: disc-kuraudo
Maintainer: disc-kuraudo
Last Packager: disc-kuraudo
Votes: 4
Popularity: 0.63
First Submitted: 2019-07-13 15:00 (UTC)
Last Updated: 2024-10-12 10:33 (UTC)

Pinned Comments

disc-kuraudo commented on 2022-11-11 09:26 (UTC)

Manual download of tarballs required from upstream

Latest Comments

1 2 Next › Last »

R1chterScale commented on 2024-10-11 18:28 (UTC)

AOCC 5.0 is now out

huyz commented on 2023-07-27 04:45 (UTC)

@disc-kuraudo The aocl-aocc package is an example.

Without that conf file and without set LD_LIBRARY_PATH, ldd /opt/aocl-aocc/lib_LP64/libflame.so.4.0 will report some missing libs. With this one-line conf file, this lib can find those libs.

disc-kuraudo commented on 2023-06-25 10:21 (UTC)

Have an example for libs that are not found?

Compiling example applications with OpenMP, amdlibm, etc. and issuing ldd after unloading the module show me the libs in /opt/aocc/lib

huyz commented on 2023-06-24 10:09 (UTC) (edited on 2023-06-24 10:09 (UTC) by huyz)

I suggest add a file aocc.conf with one line /opt/aocc/lib to /etc/ld.so.conf.d/, which allows aocc compiled applications to find libs without set LD_LIBRARY_PATH variable.

disc-kuraudo commented on 2022-11-11 09:26 (UTC)

Manual download of tarballs required from upstream

disc-kuraudo commented on 2021-02-02 20:15 (UTC)

Yes, aocl is still stuck at 2.2, used to be the other way round where aocl was more up to date.

I removed the line. Users' choice which amdlibm to link to.

SwooshyCueb commented on 2021-02-02 18:08 (UTC)

amdlibm in aocc 2.3.0 seems to be newer than amdlibm in aocl 2.2. not sure if the deletion makes sense any more

disc-kuraudo commented on 2020-03-08 08:37 (UTC)

I never use that AOCC-prerequisites-check.sh script tbh.

I just made sure the compilers work and they do.

$ ldd /opt/aocc/bin/clang | grep libtinfo
    libtinfo.so.5 => /usr/lib/libtinfo.so.5 (0x00007f9a5d398000)

gardotd426 commented on 2020-02-29 16:22 (UTC)

@gavr123456789 you've gotta add the line given when you install env-modules to your ~/.bashrc or ~/.zshrc or whatever you're using.

gardotd426 commented on 2020-02-29 16:20 (UTC) (edited on 2020-02-29 16:21 (UTC) by gardotd426)

AOCC-prerequisites-check.sh still throws an error saying that libtinfo.so.5 isn't installed even with ncurses5-compat-libs installed, and I checked, libtinfo.so.5 is indeed in /lib


LIBRARY_PATH=/opt/aocl-aocc/amd-blis/lib:/opt/aocl-aocc/amd-fftw/lib:/opt/aocl-aocc/amd-libflame/lib:/opt/aocl-aocc/amd-libm/lib:/opt/aocl-aocc/amd-rng/lib:/opt/aocl-aocc/amd-scalapack/lib:/opt/aocl-aocc/amd-securerng/lib:/opt/aocc/lib:/opt/aocc/lib32:/lib:/lib32 ./AOCC-prerequisites-check.sh

Failing Checks: 1)Library libtinfo.so.5 is missing Install this library for AOCC compiler to work

Passing Checks: 1) AOCC clang compiler bin:/opt/aocc/bin 2) AOCC clang++ compiler bin:/opt/aocc/bin 3) AOCC flang compiler bin:/opt/aocc/bin 4) Glibc version:2.31 5) libstdc++: libstdc++.so.6 (libc6,x86-64) => /usr/lib/libstdc++.so.6 libstdc++.so.5 (libc6,x86-64) => /usr/lib/libstdc++.so.5 libstdc++.so (libc6,x86-64) => /usr/lib/libstdc++.so 6) AMD LibM:/opt/aocl-aocc/amd-libm/lib 7) libz.so: libz.so.1 (libc6,x86-64) => /usr/lib/libz.so.1


ls /lib/libtinfo*
/lib/libtinfo.so  /lib/libtinfo.so.5  /lib/libtinfo.so.6