diff --git a/no_avx_patch.diff b/no_avx_patch.diff deleted file mode 100644 index 3bb8c77..0000000 --- a/no_avx_patch.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- SConstruct 2023-02-11 22:51:01.000000000 +0000 -+++ SConstruct 2023-02-16 00:00:00.000000000 +0000 -@@ -375,7 +375,7 @@ - action="append", - choices=experimental_optimization_choices, - const=experimental_optimization_choices[0], -- default=['+sandybridge'], -+ default=[], - help='Enable experimental optimizations', - nargs='?', - type='choice' diff --git a/o2_patch.diff b/o2_patch.diff new file mode 100644 index 0000000..768c000 --- /dev/null +++ b/o2_patch.diff @@ -0,0 +1,43 @@ +From ebc708a1e635a67e0da7f686ea97bffd040b770a Mon Sep 17 00:00:00 2001 +From: German Semenov +Date: Fri, 2 Jun 2023 02:03:21 +0300 +Subject: [PATCH] Optimize compile time and remove avx instructions + +--- + SConstruct | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/SConstruct b/SConstruct +index b65e089f8ee..74811ccc25c 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -312,7 +312,7 @@ add_option( + 'dbg', + choices=['on', 'off'], + const='on', +- default=build_profile.dbg, ++ default='off', + help='Enable runtime debugging checks', + nargs='?', + type='choice', +@@ -349,7 +349,7 @@ add_option( + 'opt', + choices=['on', 'debug', 'size', 'off', 'auto'], + const='on', +- default=build_profile.opt, ++ default='on', + help='Enable compile-time optimization', + nargs='?', + type='choice', +@@ -375,7 +375,7 @@ add_option( + action="append", + choices=experimental_optimization_choices, + const=experimental_optimization_choices[0], +- default=['+sandybridge'], ++ default=[], + help='Enable experimental optimizations', + nargs='?', + type='choice', +-- +2.34.1 + diff --git a/o3_patch.diff b/o3_patch.diff new file mode 100644 index 0000000..358c181 --- /dev/null +++ b/o3_patch.diff @@ -0,0 +1,43 @@ +From ebc708a1e635a67e0da7f686ea97bffd040b770a Mon Sep 17 00:00:00 2001 +From: German Semenov +Date: Fri, 2 Jun 2023 02:03:21 +0300 +Subject: [PATCH] Optimize compile time, maximum speed optimization, remove avx instructions + +--- + SConstruct | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/SConstruct b/SConstruct +index b65e089f8ee..74811ccc25c 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -312,7 +312,7 @@ add_option( + 'dbg', + choices=['on', 'off'], + const='on', +- default=build_profile.dbg, ++ default='off', + help='Enable runtime debugging checks', + nargs='?', + type='choice', +@@ -349,7 +349,7 @@ add_option( + 'opt', + choices=['on', 'debug', 'size', 'off', 'auto'], + const='on', +- default=build_profile.opt, ++ default='on', + help='Enable compile-time optimization', + nargs='?', + type='choice', +@@ -375,7 +375,7 @@ add_option( + action="append", + choices=experimental_optimization_choices, + const=experimental_optimization_choices[0], +- default=['+sandybridge'], ++ default=['+O3'], + help='Enable experimental optimizations', + nargs='?', + type='choice', +-- +2.34.1 + diff --git a/os_patch.diff b/os_patch.diff new file mode 100644 index 0000000..b1e43da --- /dev/null +++ b/os_patch.diff @@ -0,0 +1,43 @@ +From ebc708a1e635a67e0da7f686ea97bffd040b770a Mon Sep 17 00:00:00 2001 +From: German Semenov +Date: Fri, 2 Jun 2023 02:03:21 +0300 +Subject: [PATCH] Optimize compile time, maximum speed optimization, remove avx instructions + +--- + SConstruct | 6 +++--- + 1 file changed, 3 insertions(+), 3 deletions(-) + +diff --git a/SConstruct b/SConstruct +index b65e089f8ee..74811ccc25c 100644 +--- a/SConstruct ++++ b/SConstruct +@@ -312,7 +312,7 @@ add_option( + 'dbg', + choices=['on', 'off'], + const='on', +- default=build_profile.dbg, ++ default='off', + help='Enable runtime debugging checks', + nargs='?', + type='choice', +@@ -349,7 +349,7 @@ add_option( + 'opt', + choices=['on', 'debug', 'size', 'off', 'auto'], + const='on', +- default=build_profile.opt, ++ default='size', + help='Enable compile-time optimization', + nargs='?', + type='choice', +@@ -375,7 +375,7 @@ add_option( + action="append", + choices=experimental_optimization_choices, + const=experimental_optimization_choices[0], +- default=['+sandybridge'], ++ default=[], + help='Enable experimental optimizations', + nargs='?', + type='choice', +-- +2.34.1 +