File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ jobs:
101101 shell : bash
102102 run : |
103103 if [ "$RUNNER_OS" == "Windows" ]; then
104- cmake --build ./build-1 --verbose --config Release
104+ cmake --build ./build-1 --parallel -- verbose --config Release
105105 cmake --install ./build-1
106106 fi
107107
Original file line number Diff line number Diff line change @@ -108,8 +108,9 @@ if (BUILD_STATIC_LIB)
108108 ${CMAKE_SOURCE_DIR} /include )
109109 if (MSVC )
110110 if (NOT CMAKE_CL_64 )
111- # x86 build - apply memory increase for CL.exe
112- target_compile_options (PULSAR_OBJECT_LIB PRIVATE "/Zm1000" )
111+ # x86 build - disable interprocedural optimization to avoid memory insufficiency issues:
112+ # error MSB6006: "CL.exe" exited with code -1073741819.
113+ set_property (TARGET PULSAR_OBJECT_LIB PROPERTY INTERPROCEDURAL_OPTIMIZATION FALSE )
113114 endif ()
114115 set_property (TARGET pulsarStatic PROPERTY OUTPUT_NAME "${LIB_NAME} -static" )
115116 target_include_directories (pulsarStatic PRIVATE ${dlfcn-win32_INCLUDE_DIRS})
You can’t perform that action at this time.
0 commit comments