Skip to content

Commit

Permalink
[ci] MinGW fix with clang 18
Browse files Browse the repository at this point in the history
  • Loading branch information
jcelerier committed Apr 6, 2024
1 parent bbc7a42 commit 41246af
Showing 1 changed file with 8 additions and 7 deletions.
15 changes: 8 additions & 7 deletions ci/mingw.build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@

export SCORE_DIR=$PWD

mkdir -p build || true
cd build
CXX_ADDITIONAL_FLAGS=
if c++ --version | grep clang; then
CXX_ADDITIONAL_FLAGS=-fexperimental-library
fi

# FIXME vst3 error in sdk hosting...

cmake $SCORE_DIR \
cmake -S "$SCORE_DIR" -B build \
-GNinja \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=install \
-DSCORE_DISABLED_PLUGINS="score-plugin-vst3;score-plugin-jit;score-plugin-faust" \
-DCMAKE_CXX_FLAGS="-Wa,-mbig-obj -fexperimental-library" \
-DCMAKE_CXX_FLAGS="-Wa,-mbig-obj $CXX_ADDITIONAL_FLAGS" \
-DCMAKE_C_USE_RESPONSE_FILE_FOR_OBJECTS=1 \
-DCMAKE_CXX_USE_RESPONSE_FILE_FOR_OBJECTS=1 \
-DCMAKE_NINJA_FORCE_RESPONSE_FILE=1 \
-DSCORE_PCH=1

cmake --build .
cmake --build . --target install
cmake --build build
cmake --build build --target install

0 comments on commit 41246af

Please sign in to comment.