|
1 |
| -### REFRESH group macros - v.1.0.9 (2024-11-25) |
| 1 | +### REFRESH group macros - v.1.0.10 (2024-11-27) |
2 | 2 |
|
3 | 3 | ### Macros for initialization
|
4 | 4 | define INIT_GLOBALS
|
@@ -556,11 +556,17 @@ define CHECK_OS_ARCH
|
556 | 556 | $(if $(filter avx512,$(1)), \
|
557 | 557 | $(eval ARCH_FLAGS:=-mavx512 -m64 -DARCH_X64) \
|
558 | 558 | $(info *** x86-64 with AVX512 extensions ***), \
|
559 |
| - $(if $(filter x86_64,$(ARCH_TYPE)), \ |
560 |
| - $(eval ARCH_FLAGS:=-march=native -DARCH_X64) \ |
561 |
| - $(info *** Unspecified platform - using native compilation for x86_64 ***), \ |
562 |
| - $(eval ARCH_FLAGS:=-march=native -DARCH_ARM) \ |
563 |
| - $(info *** Unspecified platform - using native compilation for ARM ***)))))))) |
| 559 | + $(if $(filter generic,$(1)), \ |
| 560 | + $(if $(filter x86_64,$(ARCH_TYPE)), \ |
| 561 | + $(eval ARCH_FLAGS:=-DARCH_X64) \ |
| 562 | + $(info *** Unspecified platform - using generic compilation for x86_64 ***), \ |
| 563 | + $(eval ARCH_FLAGS:=-DARCH_ARM) \ |
| 564 | + $(info *** Unspecified platform - using generic compilation for ARM ***)), \ |
| 565 | + $(if $(filter x86_64,$(ARCH_TYPE)), \ |
| 566 | + $(eval ARCH_FLAGS:=-march=native -DARCH_X64) \ |
| 567 | + $(info *** Unspecified platform - using native compilation for x86_64 ***), \ |
| 568 | + $(eval ARCH_FLAGS:=-march=native -DARCH_ARM) \ |
| 569 | + $(info *** Unspecified platform - using native compilation for ARM ***))))))))) |
564 | 570 |
|
565 | 571 | $(if $(filter Darwin,$(OS_TYPE)), \
|
566 | 572 | $(eval SDK_PATH:=$(shell $(CXX) -v 2>&1 | grep -- '--with-sysroot' | sed -E 's/.*--with-sysroot=([^ ]+).*/\1/')) \
|
|
0 commit comments