You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CMakeLists.txt
+34-53
Original file line number
Diff line number
Diff line change
@@ -10,28 +10,29 @@ project(meevax DESCRIPTION "A programmable programming language"
10
10
LANGUAGES CXX
11
11
VERSION${CURRENT_VERSION})
12
12
13
-
include(GNUInstallDirs)
14
-
include(TestBigEndian)
15
-
16
13
set(CMAKE_CXX_EXTENSIONS OFF)
17
14
set(CMAKE_CXX_STANDARD 17)
18
15
set(CMAKE_CXX_STANDARD_REQUIRED ON)
19
16
set(CMAKE_POSITION_INDEPENDENT_CODEON)
20
17
set(CMAKE_VERBOSE_MAKEFILEOFF)
21
18
22
-
string(JOIN " " UNSTABLE_OPTIMIZATION_OPTIONS
23
-
# "-flto " # This optimization causes a SEGV when compiling with Clang 10.
24
-
# "-fmerge-all-constants " # This optimization is very effective in reducing binary size, but non-standard to the C++ standard.
25
-
# "-march=native " # This optimization causes "Illegal instruction" error (is Valgrind's bug) on CI.
26
-
# "-mtune=native "
19
+
string(JOIN " " AGGRESSIVE_OPTIMIZATION_OPTIONS
20
+
# "-fdata-sections"
21
+
# "-ffunction-sections"
22
+
# "-flto" # This optimization causes a SEGV when compiling with Clang 10.
23
+
# "-fmerge-all-constants" # This optimization is very effective in reducing binary size, but non-standard to the C++ standard.
24
+
# "-march=native" # This optimization causes "Illegal instruction" error (is Valgrind's bug) on CI.
25
+
# "-mtune=native"
27
26
)
28
27
29
28
# NOTE: The `-gdwarf-4` option is set due to the following issues with Clang 14 and Valgrind versions below 3.20: https://bugzilla.mozilla.org/show_bug.cgi?id=1758782
0 commit comments