Package Details: aocl-gcc 3.2.0-1

Git Clone URL: https://aur.archlinux.org/aocl.git (read-only, click to copy)
Package Base: aocl
Description: AMD Optimizing CPU Libraries
Upstream URL: https://developer.amd.com/amd-aocl/
Licenses: custom
Submitter: daren
Maintainer: daren
Last Packager: daren
Votes: 2
Popularity: 0.000001
First Submitted: 2019-10-04 14:02 (UTC)
Last Updated: 2022-07-12 12:25 (UTC)

Latest Comments

daren commented on 2022-07-19 17:48 (UTC) (edited on 2022-07-19 17:48 (UTC) by daren)

Manual download of tarballs required from upstream

Eirikr commented on 2022-07-19 16:08 (UTC)

URL downloads are broken - websites seem to require accepting EULA

fafesche commented on 2021-12-29 17:04 (UTC)

Thanks for the quick update!

daren commented on 2021-12-29 16:24 (UTC)

Updated to 3.1.0, sorry for the delay.

Yeah a bunch of things changed for setting this up.

I set the LP64 libraries as default, if anyone needs ILP64, I left a comment on the install.sh line in the PKGBUILD.

fafesche commented on 2021-12-29 13:46 (UTC) (edited on 2021-12-29 13:48 (UTC) by fafesche)

(Newbie to Arch) The aocl-gcc and aocl-aocc have been updated to 3.1 on https://developer.amd.com/amd-aocl/. As in package aocc names have changed and the AOC User Guide is not included in the tarball downloaded from AMD website.

As for aocc package changing in names are required (source for PKGBUILD): local://${pkgbase}-linux-aocc-${pkgver}-${_pkgrel}.tar.gz" => local://${pkgbase}-linux-aocc-${pkgver}.${_pkgrel}.tar.gz"

and all subsequent appearances of "${pkgver}-${pkgrel}". Then, recompute sha256sum and suppress line 40: cp AOCL_User_Guide${pkgver}.pdf ${prefix}

do the job for having a working package for both aocl-aocc and aocl-gcc. BTW, the name of the User Guide also changed on AMD site, it is now: 57404_AOCL_UG_Rev_3.1.pdf

Last part is hence classical: AOCL_UG_Rev_${pkgver}.pdf but first number if by no way linked with the version of AOCL. So a cp can be added using:

cp *AOCL_UG${pkgver}.pdf ${prefix}

but this requires including the pdf file into the tar.gz for both aocl-aocc and aocl-gcc. I have done it to test and it also works.

urboro commented on 2020-10-04 08:07 (UTC)

The aocl-gcc version is updated to 2.2.5 on https://developer.amd.com/amd-aocl/. Hence, the name of the file and the checksum does not match anymore to the ones in PKGBUILD.

daren commented on 2020-02-20 19:03 (UTC)

I split packaged this into aocl-aocc and aocl-gcc.

Difference is that for example libblis-mt.so from aocl-gcc is linked against libgomp.so (GNU OpenMP) and from aocl-aocc it's linked against libomp.so (LLVM OpenMP).

hfath commented on 2020-02-14 11:56 (UTC) (edited on 2020-02-14 12:09 (UTC) by hfath)

Thanks for the quick update!

Upstream responded with "Due to web portal issues the latest checksums are not updated." -- but what they really should have done is bump the version number...

daren commented on 2020-02-14 10:40 (UTC)

Updated with the new sha256sum.

If you have an old "aocl-linux-gcc-2.1.tar.gz" archive laying around, please re-download!

daren commented on 2020-02-14 10:08 (UTC) (edited on 2020-02-14 10:15 (UTC) by daren)

Weird, they uploaded a different archive under the same name.

The original one with the "e473..." sha256sum has timestamps from 15th of January.

A new downloaded one with the checksum you mention has timestamps from 23th of January... well.

The amd-libm seems to be fixed and split into amdlibm.h and amdlibm_vec.h as well... will update the PKGBUILD.

hfath commented on 2020-02-14 10:01 (UTC) (edited on 2020-02-14 10:02 (UTC) by hfath)

FTR, the distfile as downloaded with Firefox (repeatedly) gives me

% sha256sum aocl-linux-gcc-2.1.tar.gz
8ea9ec16051893e480f7ba09babeaa833897586aa4d0c2c53b22132b5884150c aocl-linux-gcc-2.1.tar.gz
%

-- differing from the checksum on upstream's web page and in PKGBUILD.

I have notified toolchainsupport@amd.com.

hfath commented on 2020-01-08 09:46 (UTC)

Actually, env-modules should put a (t)csh init file in /etc/profile.d, see <https://en.wikipedia.org/wiki/Environment_Modules_(software)#tcsh,_csh_automatic_modules_initialization>

hfath commented on 2020-01-08 09:14 (UTC)

tcsh here, and since I use my own /etc/csh.* config I had to source /etc/modules/init/tcsh (which of course has ${MODULESHOME} in it - catch 22).

I guess it would be helpful to default to /etc/modules, unless ${MODULESHOME} is set.

daren commented on 2020-01-07 14:08 (UTC)

Hmm, it seems that your shell didn't have ${MODULESHOME} set.

Maybe you need to restart the shell after the installation of env-modules and see if the environment variable is set? I think it should be integrated into bash startup scripts, other shells might need manual env-modules sourcing in the ~/.<shell>rc file.

I should check for if this is set in the PKGBUILD, else it kinda malfunctions and indeed will try to install in /modules.

hfath commented on 2020-01-07 14:01 (UTC)

Ah, okay, I see it now. I guess AUR expects you to look out for such things. ;)

The package installs its environment module files under /modules -- is that the canonical location on Arch? The 'env-modules' package is configured for /etc/modules.

And which package would install the 'module' command mentioned in aocl.install - or did you mean what 'env-modules' installs as 'add.modules'?

daren commented on 2020-01-07 12:23 (UTC) (edited on 2020-01-07 12:48 (UTC) by daren)

Manual download of '${pkgname}-${os}-${pkgver}.tar.gz' required from upstream

url="https://developer.amd.com/amd-aocl/"

Had to do it this way because the real download of the tarball is somewhat hidden behind some web stuff that I don't understand.

hfath commented on 2020-01-07 11:29 (UTC)

Quite. The package might announce where to get it from, though...

daren commented on 2020-01-07 11:00 (UTC) (edited on 2020-01-07 11:00 (UTC) by daren)

aocl-ubuntu-2.0.tar.gz was not found in the build directory

put this file into the build directory?

hfath commented on 2020-01-07 10:54 (UTC)

==> Making package: aocl 2.0-2 (Tue Jan 7 11:46:46 2020)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
==> ERROR: aocl-ubuntu-2.0.tar.gz was not found in the build directory and is not a URL.

XXX Why does this comment field strip line breaks?