Skip to content

Commit 12d2bd8

Browse files
committed
Increase memory and show verbose info
1 parent 4172338 commit 12d2bd8

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/ci-pr-validation.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ jobs:
101101
shell: bash
102102
run: |
103103
if [ "$RUNNER_OS" == "Windows" ]; then
104-
cmake --build ./build-1 --config Release
104+
cmake --build ./build-1 --verbose --config Release
105105
cmake --install ./build-1
106106
fi
107107

lib/CMakeLists.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,10 @@ if (BUILD_STATIC_LIB)
107107
${CMAKE_SOURCE_DIR}
108108
${CMAKE_SOURCE_DIR}/include)
109109
if (MSVC)
110+
if (NOT CMAKE_CL_64)
111+
# x86 build - apply memory increase for CL.exe
112+
target_compile_options(PULSAR_OBJECT_LIB PRIVATE "/Zm500")
113+
endif()
110114
set_property(TARGET pulsarStatic PROPERTY OUTPUT_NAME "${LIB_NAME}-static")
111115
target_include_directories(pulsarStatic PRIVATE ${dlfcn-win32_INCLUDE_DIRS})
112116
else ()

0 commit comments

Comments
 (0)