Package Details: aocc 3.2.0-1

Git Clone URL: (read-only, click to copy)
Package Base: aocc
Description: AMD Optimizing C/C++ Compiler
Upstream URL:
Licenses: custom
Submitter: daren
Maintainer: daren
Last Packager: daren
Votes: 2
Popularity: 0.000001
First Submitted: 2019-07-13 15:00 (UTC)
Last Updated: 2021-12-16 12:41 (UTC)

Dependencies (1)

Required by (2)

Sources (2)

Latest Comments

daren 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

daren commented on 2020-03-08 08:37 (UTC)

I never use that script tbh.

I just made sure the compilers work and they do.

$ ldd /opt/aocc/bin/clang | grep libtinfo => /usr/lib/ (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) still throws an error saying that isn't installed even with ncurses5-compat-libs installed, and I checked, 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 ./

Failing Checks: 1)Library 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++: (libc6,x86-64) => /usr/lib/ (libc6,x86-64) => /usr/lib/ (libc6,x86-64) => /usr/lib/ 6) AMD LibM:/opt/aocl-aocc/amd-libm/lib 7) (libc6,x86-64) => /usr/lib/

ls /lib/libtinfo*
/lib/  /lib/  /lib/

gavr123456789 commented on 2020-02-15 12:12 (UTC)

Environment variable MODULESHOME from env-modules is unset. Restart your shell or source the env-modules scripts for your shell.

gardotd426 commented on 2019-12-09 22:54 (UTC)

@daren, how I broke it? I had a fresh install and ran yay -S aocc.

daren commented on 2019-11-27 06:28 (UTC)

Not sure how you broke it, but this package installs aocc to /opt/aocc and can be set up when needed with "module load aocc" using environment-modules. There should be absolutely no trace of it in a new shell.

The dependency should be solved by ncurses5-compat-libs which provides it.

gardotd426 commented on 2019-11-27 06:11 (UTC)

It still fails the prerequisite checks. The package does install, but it doesn't actually use the compiler. Which is lame because now llvm-config --version says that I'm using AOCC.LLVM but when I run the included prerequisite check script, it fails saying "Library is missing. Intall this library for AOCC compiler to work." I've tried the known workarounds for other people having this issue, like creating a symlink betweeen /usr/lib/ and /usr/lib/, and it still has the same issue. And now, I can't go back to the regular llfm, so things like the mesa-aco-git package refuse to install, because when it checks my llvm version, it gets that weird AOCC.LLVM.2.0.0.B191.2019_07_10 instead of the standard llvm version. And nothing I do can get it to go back to the stock LLVM. I've tried removing aocc with pacman -Rn and reinstalling stock llvm, nothing works.

daren commented on 2019-08-09 16:59 (UTC) (edited on 2019-08-09 17:18 (UTC) by daren)

Manual download of 'aocc-compiler-${pkgver}.tar' required from upstream

Need to agree to the EULA on AMD's AOCC page and download it manually and put it in the same directory as the PKGBUILD and it'll work.

Edit: Updated file:// to local:// for a proper error message if the file is missing.

gavr123456789 commented on 2019-08-09 16:49 (UTC)

==> Retrieving sources... -> Downloading aocc-compiler-2.0.0.tar... curl: (3) URL using bad/illegal format or missing URL ==> ERROR: Failure while downloading file://aocc-compiler-2.0.0.tar Aborting...