Package Details: aocc 2.2.0-1

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: daren
Maintainer: daren
Last Packager: daren
Votes: 2
Popularity: 0.72
First Submitted: 2019-07-13 15:00
Last Updated: 2020-07-01 10:35

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

daren commented on 2020-03-08 08:37

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

@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

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

gavr123456789 commented on 2020-02-15 12:12

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

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

daren commented on 2019-11-27 06:28

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 libtinfo.so.5 dependency should be solved by ncurses5-compat-libs which provides it.

gardotd426 commented on 2019-11-27 06:11

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 libtinfo.so.5 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/libtinfo.so.6 and /usr/lib/libtinfo.so.5, 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

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

==> 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...