Skip to content

Commit

Permalink
Turning off parallel builds on Windows. The build node is failing to …
Browse files Browse the repository at this point in the history
…compile because error C1041 (multiple CL.EXE write to the same .PDB file)

Signed-off-by: AMZN-Gene <[email protected]>
  • Loading branch information
AMZN-Gene committed Sep 30, 2024
1 parent fce7856 commit 14fa201
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions package-system/assimp/build_assimp_windows.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ cmake -S temp/src ^
-DASSIMP_BUILD_USD_IMPORTER=ON ^
-DCMAKE_CXX_FLAGS="/EHsc /w" ^
temp/src/CMakeLists.txt || exit /b 1
cmake --build temp/src --config release || exit /b 1
cmake --build temp/src --config debug || exit /b 1
cmake --build temp/src --config release --parallel 1 || exit /b 1
cmake --build temp/src --config debug --parallel 1 || exit /b 1

@rem # /w compiler option. Assimp USD is implemented using TinyUSDZ which, unfortunately, contains compiler warnings
cmake -S temp/src ^
Expand All @@ -35,7 +35,7 @@ cmake -S temp/src ^
-DASSIMP_BUILD_USD_IMPORTER=ON ^
-DCMAKE_CXX_FLAGS="/EHsc /w" ^
temp/src/CMakeLists.txt || exit /b 1
cmake --build temp/src --config release || exit /b 1
cmake --build temp/src --config debug || exit /b 1
cmake --build temp/src --config release --parallel 1 || exit /b 1
cmake --build temp/src --config debug --parallel 1 || exit /b 1

exit /b 0

0 comments on commit 14fa201

Please sign in to comment.