Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Re-enable Windows build #67

Merged
merged 7 commits into from
Jul 3, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
110 changes: 110 additions & 0 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

25 changes: 25 additions & 0 deletions .ci_support/win_64_.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
c_compiler:
- vs2017
channel_sources:
- conda-forge,defaults
channel_targets:
- conda-forge main
cxx_compiler:
- vs2017
fortran_compiler:
- flang
fortran_compiler_version:
- '5'
libblas:
- 3.8 *netlib
liblapack:
- 3.8 *netlib
metis:
- '5.1'
mumps_seq:
- '5.2'
pin_run_as_build:
metis:
max_pin: x.x
target_platform:
- win-64
7 changes: 7 additions & 0 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 7 additions & 11 deletions recipe/cmake/Ipopt/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,8 @@ set (IPOPT_SRC_ALGORITHM_INEXACT_LIST ${Ipopt_DIR}/src/Algorithm/Inexact/IpInexa
${Ipopt_DIR}/src/Algorithm/Inexact/IpInexactPDTerminationTester.cpp
${Ipopt_DIR}/src/Algorithm/Inexact/IpIterativePardisoSolverInterface.cpp)

set (IPOPT_SRC_ALGORITHM_LINEARSOLVERS_LIST ${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpLinearSolversRegOp.cpp
set (IPOPT_SRC_ALGORITHM_LINEARSOLVERS_LIST ${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpLinearSolvers.c
${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpLinearSolversRegOp.cpp
${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpSlackBasedTSymScalingMethod.cpp
${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpTripletToCSRConverter.cpp
${Ipopt_DIR}/src/Algorithm/LinearSolvers/IpTSymDependencyDetector.cpp
Expand Down Expand Up @@ -188,15 +189,8 @@ set (IPOPT_SRC_CONTRIB_CGPENALTY_LIST ${Ipopt_DIR}/src/contrib/CGPenalty/IpCGPen
${Ipopt_DIR}/src/contrib/CGPenalty/IpCGSearchDirCalc.cpp
${Ipopt_DIR}/src/contrib/CGPenalty/IpPiecewisePenalty.cpp)

set (IPOPT_SRC_CONTRIB_LINEARSOLVERLOADER_LIST ${Ipopt_DIR}/src/contrib/LinearSolverLoader/LibraryHandler.c
${Ipopt_DIR}/src/contrib/LinearSolverLoader/HSLLoader.c)

if (IPOPT_ENABLE_LINEARSOLVERLOADER)
set(IPOPT_SRC_CONTRIB_LINEARSOLVERLOADER_LIST ${IPOPT_SRC_CONTRIB_LINEARSOLVERLOADER_LIST}
${Ipopt_DIR}/src/contrib/LinearSolverLoader/PardisoLoader.c)
endif ()

set (IPOPT_SRC_COMMON_LIST ${Ipopt_DIR}/src/Common/IpJournalist.cpp
set (IPOPT_SRC_COMMON_LIST ${Ipopt_DIR}/src/Common/IpLibraryLoader.cpp
${Ipopt_DIR}/src/Common/IpJournalist.cpp
${Ipopt_DIR}/src/Common/IpObserver.cpp
${Ipopt_DIR}/src/Common/IpOptionsList.cpp
${Ipopt_DIR}/src/Common/IpRegOptions.cpp
Expand All @@ -209,6 +203,7 @@ set (IPOPT_SRC_INTERFACES_LIST ${Ipopt_DIR}/src/Interfaces/IpInterfacesRegOp.cpp
${Ipopt_DIR}/src/Interfaces/IpStdCInterface.cpp
${Ipopt_DIR}/src/Interfaces/IpStdFInterface.c
${Ipopt_DIR}/src/Interfaces/IpStdInterfaceTNLP.cpp
${Ipopt_DIR}/src/Interfaces/IpTNLP.cpp
${Ipopt_DIR}/src/Interfaces/IpTNLPAdapter.cpp
${Ipopt_DIR}/src/Interfaces/IpTNLPReducer.cpp)

Expand Down Expand Up @@ -245,7 +240,6 @@ set (IPOPT_SRC_LIST ${IPOPT_SRC_ALGORITHM_LIST}
${IPOPT_SRC_APPS_CUTERINTERFACE_LIST}
${IPOPT_SRC_APPS_AMPLSOLVER_LIST}
${IPOPT_SRC_CONTRIB_CGPENALTY_LIST}
${IPOPT_SRC_CONTRIB_LINEARSOLVERLOADER_LIST}
${IPOPT_SRC_COMMON_LIST}
${IPOPT_SRC_INTERFACES_LIST}
${IPOPT_SRC_LINALG_LIST}
Expand Down Expand Up @@ -910,13 +904,15 @@ set(COMMON_HDRS ${Ipopt_DIR}/src/Common/IpCachedResults.hpp
${Ipopt_DIR}/src/Common/IpDebug.hpp
${Ipopt_DIR}/src/Common/IpException.hpp
${Ipopt_DIR}/src/Common/IpJournalist.hpp
${Ipopt_DIR}/src/Common/IpLibraryLoader.hpp
${Ipopt_DIR}/src/Common/IpObserver.hpp
${Ipopt_DIR}/src/Common/IpOptionsList.hpp
${Ipopt_DIR}/src/Common/IpReferenced.hpp
${Ipopt_DIR}/src/Common/IpRegOptions.hpp
${Ipopt_DIR}/src/Common/IpSmartPtr.hpp
${Ipopt_DIR}/src/Common/IpTaggedObject.hpp
${Ipopt_DIR}/src/Common/IpTimedTask.hpp
${Ipopt_DIR}/src/Common/IpTypes.h
${Ipopt_DIR}/src/Common/IpTypes.hpp
${Ipopt_DIR}/src/Common/IpUtils.hpp)

Expand Down
1 change: 0 additions & 1 deletion recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ source:

build:
number: 0
skip: true # [win]
run_exports:
- {{ pin_subpackage('ipopt', max_pin='x.x') }}

Expand Down