Skip to content

Commit

Permalink
[issue1093] Remove debug output.
Browse files Browse the repository at this point in the history
  • Loading branch information
remochristen committed Jul 21, 2023
1 parent 0e40e00 commit ab0f666
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 20 deletions.
13 changes: 7 additions & 6 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ jobs:
dir D:\a\downward\cplex\lib\x64_windows_msvc14
dir D:\a\downward\cplex\lib\x64_windows_msvc14\stat_mda
dir D:\a\downward\cplex\lib\x64_windows_msvc14\stat_mdd
dir D:\a\downward\cplex_temp\opl\bin\x64_win64
call "${{ matrix.platform.vc }}" %ARCH%
python build.py release
python build.py debug
Expand All @@ -107,11 +108,11 @@ jobs:
# steps, we hope to be able to install VAL natively on Windows.
run: |
call "${{ matrix.platform.vc }}" %ARCH%
rem "dumpbin /dependents builds\release\bin\downward.exe shows that"
rem "downward.exe depends on cplexXYZ.dll. Thus, we have to add it to"
rem "the PATH. On my local CPLEX installation this is done"
rem "automatically. For the GitHub Action we have to do it manually:"
set PATH=%PATH%;D:\a\downward\cplex_temp\opl\bin\x64_win64/
#rem "dumpbin /dependents builds\release\bin\downward.exe shows that"
#rem "downward.exe depends on cplexXYZ.dll. Thus, we have to add it to"
#rem "the PATH. On my local CPLEX installation this is done"
#rem "automatically. For the GitHub Action we have to do it manually:"
#set PATH=%PATH%;D:\a\downward\cplex_temp\opl\bin\x64_win64/
cd misc/
tox -e translator,search
Expand All @@ -120,7 +121,7 @@ jobs:
if: ${{ env.CPLEX_URL != 0 }}
run: |
call "${{ matrix.platform.vc }}" %ARCH%
set PATH=%PATH%;D:\a\downward\cplex_temp\opl\bin\x64_win64/
#set PATH=%PATH%;D:\a\downward\cplex_temp\opl\bin\x64_win64/
cd misc/
tox -e cplex
Expand Down
14 changes: 0 additions & 14 deletions src/cmake_modules/FindCplex.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ find_path(CPLEX_INCLUDE_DIRS
include/ilcplex
)

message(WARNING "the cplex include dirs are at ${CPLEX_INCLUDE_DIRS}")

if(APPLE)
set(CPLEX_LIBRARY_PATH_SUFFIX_RELEASE_32
"lib/x86_osx/static_pic")
Expand Down Expand Up @@ -108,8 +106,6 @@ else()
)
endif()

message(WARNING "cplex library path suffix release${CPLEX_LIBRARY_PATH_SUFFIX_RELEASE}")

# CMake uses the first discovered library, searching in the order they
# are mentioned here. We prefer dynamic libraries over static ones
# (see issue925) and otherwise prefer the latest available version.
Expand All @@ -127,9 +123,6 @@ find_library(CPLEX_LIBRARY_RELEASE
${CPLEX_LIBRARY_PATH_SUFFIX_RELEASE}
)

message(WARNING "cplex hint path release: ${CPLEX_HINT_PATHS_RELEASE}")
message(WARNING "cplex library release: ${CPLEX_LIBRARY_RELEASE}")

# See above.
find_library(CPLEX_LIBRARY_DEBUG
NAMES
Expand All @@ -145,9 +138,6 @@ find_library(CPLEX_LIBRARY_DEBUG
${CPLEX_LIBRARY_PATH_SUFFIX_DEBUG}
)

message(WARNING "cplex hint path debug: ${CPLEX_HINT_PATHS_DEBUG}")
message(WARNING "cplex library debug: ${CPLEX_LIBRARY_DEBUG}")

if(CPLEX_INCLUDE_DIRS)
# Parse CPLEX version.
file(STRINGS ${CPLEX_INCLUDE_DIRS}/cpxconst.h CPLEX_VERSION_STR
Expand Down Expand Up @@ -190,10 +180,6 @@ if(CPLEX_INCLUDE_DIRS)
endif()
endif()

message(WARNING "cplex runtime library path hint: ${CPLEX_HINT_PATHS_RELEASE}/${CPLEX_RUNTIME_LIBRARY_HINT}")
message(WARNING "cplex runtime library path: ${CPLEX_RUNTIME_LIBRARY_PATH}")


# Check if everything was found and set CPLEX_FOUND.
include(FindPackageHandleStandardArgs)
find_package_handle_standard_args(
Expand Down

0 comments on commit ab0f666

Please sign in to comment.