projects
/
openjpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e81d293
)
TEST: build with sse4.1/avx2 on Linux.
author
Carl Hetherington
<cth@carlh.net>
Sat, 2 Mar 2024 23:31:43 +0000
(
00:31
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Sat, 2 Mar 2024 23:31:43 +0000
(
00:31
+0100)
cscript
patch
|
blob
|
history
diff --git
a/cscript
b/cscript
index daa5d2e1c824b7e67ec2e6bcf026744146891e94..96066b989594fd19002cd844afe421fb16f62b92 100644
(file)
--- a/
cscript
+++ b/
cscript
@@
-25,6
+25,7
@@
def build(target, options):
f.close()
if target.platform == 'linux':
cmd += ' -DBUILD_SHARED_LIBS=OFF'
+ cmd += ' -DCMAKE_C_FLAGS="-O3 -msse4.1 -mavx2 -DNDEBUG"'
if target.platform == 'osx':
cmd += ' -DCMAKE_OSX_SYSROOT=%s/MacOSX%s.sdk' % (target.sdk_prefix, target.sdk)