Julien Malka
d05fcb7e2c
Some checks failed
Check meta / check_dns (push) Failing after 19s
Check meta / check_meta (push) Successful in 20s
build configuration / build_and_cache_storage01 (push) Failing after 35s
build configuration / build_and_cache_compute01 (push) Failing after 36s
build configuration / build_and_cache_rescue01 (push) Failing after 33s
build configuration / build_and_cache_geo01 (push) Failing after 32s
build configuration / build_and_cache_geo02 (push) Failing after 31s
build configuration / build_and_cache_vault01 (push) Failing after 33s
build configuration / build_and_cache_web01 (push) Failing after 32s
build configuration / build_and_cache_web02 (push) Failing after 33s
lint / check (push) Failing after 28s
build configuration / build_and_cache_krz01 (push) Failing after 1m55s
build configuration / build_and_cache_bridge01 (push) Failing after 33s
34 lines
988 B
Diff
34 lines
988 B
Diff
From 51568b61ef63ecd97867562571411082c32751d3 Mon Sep 17 00:00:00 2001
|
|
From: Raito Bezarius <masterancpp@gmail.com>
|
|
Date: Wed, 9 Oct 2024 13:36:51 +0200
|
|
Subject: [PATCH] fix: avx & f16c in Makefile
|
|
|
|
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
|
|
---
|
|
Makefile | 8 ++++----
|
|
1 file changed, 4 insertions(+), 4 deletions(-)
|
|
|
|
diff --git a/Makefile b/Makefile
|
|
index 32b7cbb..2ccb750 100644
|
|
--- a/Makefile
|
|
+++ b/Makefile
|
|
@@ -361,12 +361,12 @@ ifndef RISCV
|
|
|
|
ifeq ($(UNAME_M),$(filter $(UNAME_M),x86_64 i686 amd64))
|
|
# Use all CPU extensions that are available:
|
|
- MK_CFLAGS += -march=native -mtune=native
|
|
- HOST_CXXFLAGS += -march=native -mtune=native
|
|
+ # MK_CFLAGS += -march=native -mtune=native
|
|
+ # HOST_CXXFLAGS += -march=native -mtune=native
|
|
|
|
# Usage AVX-only
|
|
- #MK_CFLAGS += -mfma -mf16c -mavx
|
|
- #MK_CXXFLAGS += -mfma -mf16c -mavx
|
|
+ MK_CFLAGS += -mf16c -mavx
|
|
+ MK_CXXFLAGS += -mf16c -mavx
|
|
|
|
# Usage SSSE3-only (Not is SSE3!)
|
|
#MK_CFLAGS += -mssse3
|
|
--
|
|
2.46.0
|
|
|