Open cedricga91 opened 7 months ago
This is cool (though I really don't think i would ever use this myself, as OPTARCH_GENERIC in general for all the other packages one builds is probably pretty crappy, so just having a decent BLAS is just a small win)
My immediate thoughts is that maybe the default TARGET should be customizable. CORE2 is pretty darn old, i think maybe haswell is probably as old as people would go (though of course, OPTARCH_GENERIC target is very old) Otherwise I see no downside this allowing this option for those having to use OPTARCH_GENERIC.
Hello !
Is-it possible to make OpenBLAS easyblock aware to
--optarch=GENERIC
usingDYNAMIC_ARCH
build option (Include support for multiple CPU targets, with automatic selection at runtime).Reference: https://fossies.org/linux/OpenBLAS/README.md
Below, a patch inspired of https://dl.rockylinux.org/vault/rocky/8.8/AppStream/source/tree/Packages/o/openblas-0.3.15-6.el8.src.rpm (only tested on x86_64) :
I have disabled
DYNAMIC_OLDER
build option to reduce library size.Thanks for your help ! Have a good day !