Skip to content

Commit

Permalink
try to split large pdb files into smaller ones
Browse files Browse the repository at this point in the history
  • Loading branch information
galabovaa committed Mar 2, 2024
1 parent 5130b8c commit 7721555
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -295,7 +295,12 @@ if(MSVC)
# add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/wd4018 /wd4061 /wd4100 /wd4101 /wd4127 /wd4189 /wd4244 /wd4245 /wd4267 /wd4324 /wd4365 /wd4389 /wd4456 /wd4457 /wd4458 /wd4459 /wd4514 /wd4701 /wd4820>")
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/MP>")
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:-D_CRT_SECURE_NO_WARNINGS>")
add_compile_options("$<$<COMPILE_LANGUAGE:C,CXX>:/MP>")

# Try to split large pdb files into objects.
# https://github.com/tensorflow/tensorflow/issues/31610
add_compile_options("/Z7")
add_link_options("/DEBUG:FASTLINK")
if(STDCALL)
# /Gz - stdcall calling convention
add_definitions(/Gz)
Expand Down
3 changes: 1 addition & 2 deletions cmake/sources.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,7 @@ set(include_dirs
${CMAKE_SOURCE_DIR}/src/simplex
${CMAKE_SOURCE_DIR}/src/test
${CMAKE_SOURCE_DIR}/src/util
$<BUILD_INTERFACE:${HIGHS_BINARY_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/highs)
$<BUILD_INTERFACE:${HIGHS_BINARY_DIR}>)

set(cupdlp_sources
pdlp/cupdlp/cupdlp_cs.c
Expand Down
2 changes: 1 addition & 1 deletion src/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ else()
target_include_directories(highs PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
$<BUILD_INTERFACE:${HIGHS_BINARY_DIR}>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/highs>
# $<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}/highs>
)

# target_include_directories(highs PRIVATE
Expand Down

0 comments on commit 7721555

Please sign in to comment.