Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support compilation with AOCC #715

Open
dkokron opened this issue Jan 24, 2023 · 2 comments
Open

support compilation with AOCC #715

dkokron opened this issue Jan 24, 2023 · 2 comments

Comments

@dkokron
Copy link

dkokron commented Jan 24, 2023

I'm attempting to compile on a Rome CPU under Ubuntu-22.04 using the AOCC-4.0.0 release
clang --version
AMD clang version 14.0.6 (CLANG: AOCC_4.0.0-Build#434 2022_10_28) (based on LLVM Mirror.Version.14.0.6)
Target: x86_64-unknown-linux-gnu
Thread model: posix

My configure appear to complete without error
blis > ./configure CC=clang CXX=clang++ FC=flang --prefix=$PWD/install --enable-threading=pthreads amd64

blis :( > make
config/generic/make_defs.mk:74: *** gcc, icc, or clang is required for this configuration.. Stop.

CC_VENDOR is set to aocc
config.mk:CC_VENDOR := aocc

The logic in config/generic/make_defs.mk doesn't include aocc as an option.

@kvaragan
Copy link
Contributor

kvaragan commented Feb 6, 2023

can you try zen2 config
./configure CC=clang CXX=clang++ FC=flang --prefix=$PWD/install --enable-threading=pthreads zen2

Latest blis code optimized for AMD EPYC processors you can find at : https://github.com/amd/blis

  • you can select config as amdzen

@dkokron
Copy link
Author

dkokron commented Feb 6, 2023 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants