From 09d9e1788ec3b3d332fc0b3a52d6590f77d1d41e Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Mon, 21 Dec 2020 10:45:43 +0100 Subject: [PATCH 1/3] Try enabling ipopt on the Windows build. --- appveyor.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/appveyor.yml b/appveyor.yml index f9481a7cb..304080eca 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -7,13 +7,13 @@ install: - set PATH=C:\Miniconda37-x64\Scripts;%PATH% - conda config --add channels conda-forge --force - conda update --all -y -- conda create -y --name pagmo python=3.7 cmake boost-cpp eigen nlopt tbb tbb-devel +- conda create -y --name pagmo python=3.7 cmake boost-cpp eigen nlopt tbb tbb-devel ipopt - call activate pagmo build_script: - mkdir build - cd build -- cmake -G "Visual Studio 15 2017 Win64" -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%/Library -DPAGMO_BUILD_TESTS=YES -DPAGMO_BUILD_TUTORIALS=YES -DPAGMO_WITH_EIGEN3=yes -DPAGMO_WITH_NLOPT=yes -DPAGMO_ENABLE_IPO=yes .. +- cmake -G "Visual Studio 15 2017 Win64" -DBoost_NO_BOOST_CMAKE=ON -DCMAKE_INSTALL_PREFIX=%CONDA_PREFIX%/Library -DPAGMO_BUILD_TESTS=YES -DPAGMO_BUILD_TUTORIALS=YES -DPAGMO_WITH_EIGEN3=yes -DPAGMO_WITH_NLOPT=yes -DPAGMO_WITH_IPOPT=yes -DPAGMO_ENABLE_IPO=yes .. - cmake --build . --config Release --target install test_script: From 2b77a07f30c30bc22cb10f57ef8701fc42728f29 Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Mon, 21 Dec 2020 10:59:21 +0100 Subject: [PATCH 2/3] Try find_library() fix for ipopt. --- cmake_modules/Findpagmo_IPOPT.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake_modules/Findpagmo_IPOPT.cmake b/cmake_modules/Findpagmo_IPOPT.cmake index 105d3f1b5..626c33a63 100644 --- a/cmake_modules/Findpagmo_IPOPT.cmake +++ b/cmake_modules/Findpagmo_IPOPT.cmake @@ -26,7 +26,7 @@ if ("libipopt" IN_LIST pagmo_IPOPT_FIND_COMPONENTS) # The libipopt component was requested. # The associated variable is PAGMO_IPOPT_LIBRARY. list(APPEND _pagmo_IPOPT_FPHSA_ARGS PAGMO_IPOPT_LIBRARY) - find_library(PAGMO_IPOPT_LIBRARY NAMES ipopt) + find_library(PAGMO_IPOPT_LIBRARY NAMES ipopt ipopt-3) endif() # Run the standard find_package() machinery. From 0653d6c1bf1b5f9be154dcd3929879b21d102861 Mon Sep 17 00:00:00 2001 From: Francesco Biscani Date: Mon, 21 Dec 2020 11:28:26 +0100 Subject: [PATCH 3/3] Update changelog. --- doc/sphinx/changelog.rst | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/sphinx/changelog.rst b/doc/sphinx/changelog.rst index f2f0bcd5c..03434c670 100644 --- a/doc/sphinx/changelog.rst +++ b/doc/sphinx/changelog.rst @@ -6,6 +6,12 @@ Changelog 2.16.1 (unreleased) ------------------- +New +~~~ + +- The pagmo conda package now enables Ipopt on Windows + (`#460 `__). + Changes ~~~~~~~ @@ -16,7 +22,8 @@ Fix ~~~ - Various build system fixes/improvements - (`#459 `__, + (`#460 `__, + `#459 `__, `#458 `__, `#457 `__).