Overview
Request 825866 accepted
Avoid compile-time CPU-detection (boo#1100677)
the docs in GotoBLAS_02QuickInstall.txt say
3. Specifying target architecture
If you need library for different architecture, you can use TARGET
option. You can find current available options in top of getarch.c.
For example, if you need library for Intel core2 architecture,
you'll find FORCE_CORE2 option in getarch.c. Therefore you can
specify TARGET=CORE2 (get rid of FORCE_) with make.
$shell> make TARGET=CORE2
This is rather unspecific, but my tests show it helps to get reproducible binaries and compilation still happens with -DDYNAMIC_ARCH -march=skylake-avx512
- Created by bmwiedemann
- In state accepted
Request History
bmwiedemann created request
Avoid compile-time CPU-detection (boo#1100677)
the docs in GotoBLAS_02QuickInstall.txt say
3. Specifying target architecture
If you need library for different architecture, you can use TARGET
option. You can find current available options in top of getarch.c.
For example, if you need library for Intel core2 architecture,
you'll find FORCE_CORE2 option in getarch.c. Therefore you can
specify TARGET=CORE2 (get rid of FORCE_) with make.
$shell> make TARGET=CORE2
This is rather unspecific, but my tests show it helps to get reproducible binaries and compilation still happens with -DDYNAMIC_ARCH -march=skylake-avx512
namtrac accepted request