support compilation with AOCC
dkokron opened this issue · comments
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.
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