diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-03-02 23:22:59 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-03-02 23:22:59 +0100 |
| commit | e81d293aff9a5db0eeabce237dc14c87b6828ef0 (patch) | |
| tree | 1b572a3dca255bb27c31585f6f35702e34ed96c4 | |
| parent | 4029c34a4276bad4289df53c034265315924fe9e (diff) | |
TEST: build with sse4.1/avx2 on Windows.
| -rw-r--r-- | cscript | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ def build(target, options): print("SET(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)", file=f) print("SET(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)", file=f) cmd += ' -DCMAKE_TOOLCHAIN_FILE=mingw.cmake' + cmd += ' -DCMAKE_C_FLAGS="-O3 -msse4.1 -mavx2 -DNDEBUG"' f.close() if target.platform == 'linux': cmd += ' -DBUILD_SHARED_LIBS=OFF' |
