Skip to content

Commit 3f8236e

Browse files
authored
Revert "Add /bigobj flag on big spirvtest object (microsoft#3858)" (microsoft#6095)
This reverts commit 36bfa74. CodeGenSpirvTest.cpp has been cut down significantly from its original >10,000 line size, so this flag should no longer be necessary. Fixes microsoft#3867
1 parent 4b5db1c commit 3f8236e

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

tools/clang/unittests/SPIRV/CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,6 @@ configure_file(
5151
${CMAKE_CURRENT_BINARY_DIR}/SpirvTestOptions.h
5252
)
5353

54-
if(WIN32)
55-
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /bigobj") # otherwise will hit fatal error C1128 on windows x64
56-
endif(WIN32)
57-
5854
if (NOT CLANG_INCLUDE_TESTS)
5955
add_test(NAME test-spirv-codegen COMMAND $<TARGET_FILE:ClangSPIRVTests>)
6056
endif()

0 commit comments

Comments
 (0)