386 Commits

Author SHA1 Message Date
Peter Dimov
7733399366 Update ci.yml boost-1.82.0.beta1 boost-1.82.0 2023-01-21 10:47:33 +02:00
Peter Dimov
ef9d856953 Honor ICU_ICUxx_NAME variables in remap-library 2023-01-11 18:18:47 +02:00
Peter Dimov
c2b8ea9ac7 Update Boost version 2022-12-15 07:51:03 +02:00
Peter Dimov
56f7c5da02 Accept 'IntelLLVM' as a toolset name for 'intel'. Refs #60. boost-1.81.0 2022-11-16 16:12:56 +02:00
Peter Dimov
fa27b45670 Update ci.yml 2022-11-16 15:30:02 +02:00
Peter Dimov
534727e8a0 Accept a list of toolsets in Boost_COMPILER. Refs #63. 2022-11-16 14:18:59 +02:00
Peter Dimov
5f0316373c Update ci.yml 2022-11-16 14:11:31 +02:00
Peter Dimov
0dffa522de Change macos-10.15 to macos-latest in ci.yml boost-1.81.0.beta1 2022-08-15 21:20:16 +03:00
Peter Dimov
9ceadbd19f Update Boost_COMPILER for clang-cl in ci.yml 2022-08-15 21:19:24 +03:00
Peter Dimov
09ed8cfeee Update Boost version 2022-08-15 20:02:25 +03:00
Peter Dimov
85e1406a57 Update Boost version boost-1.80.0 boost-1.80.0.beta1 2022-04-14 11:38:38 +03:00
Peter Dimov
d819e4151c Add VS2022 to BoostDetectToolset.cmake; fixes #59 boost-1.79.0.beta1 boost-1.79.0 2022-02-12 18:57:24 +02:00
Peter Dimov
a2fa153614 Update ci.yml 2022-02-12 10:25:18 +02:00
Peter Dimov
cf98eed5c8 Merge branch 'fix-clang-ms-abi' of https://github.com/cdglove/boost_install into feature/pr-57 2022-01-18 03:55:46 +02:00
Peter Dimov
06863e5bc9 Add a clang-cl job to appveyor.yml 2022-01-18 03:02:12 +02:00
Chris Glover
85cb56a87e Detect clangw toolset when using any clang with the ms-abi
When compiling with clang, cmake only sets MSVC when using clang-cl as
it's meant as an indication of cl.exe command line compatibility.

In this case, if one is using clang++ with the ms-abi, cmake
incorrectly takes the else branch here and library detection fails.

If instead we use MSVC_VERSION, which is empty unless a compiler
with _MSC_VER set is being used, then we get the correct behaviour.

https://cmake.org/cmake/help/latest/variable/MSVC.html

https://cmake.org/cmake/help/latest/variable/MSVC_VERSION.html
2022-01-17 22:21:25 +00:00
Peter Dimov
f23b121b3d Set IMPORTED_LOCATION to the .dll file (refs #56) 2021-12-31 02:21:46 +02:00
Peter Dimov
83eac82da9 Update Boost version 2021-12-09 04:05:06 +02:00
Peter Dimov
1e63a0a86b Enable Boost::dynamic_linking target as well boost-1.78.0.beta1 boost-1.78.0 2021-11-03 02:41:07 +02:00
Peter Dimov
1dfb9c2872 Enable Boost::disable_autolinking and Boost::diagnostic_definitions, as BOOST_ALL_NO_LIB is no longer defined by the targets 2021-11-03 01:49:59 +02:00
Peter Dimov
258f7866c1 Do not define BOOST_ALL_NO_LIB in the library targets; define BOOST_LIBNAME_NO_LIB 2021-11-03 01:49:16 +02:00
Peter Dimov
0605dadfac Merge pull request #53 from shr-project/jansa/python-3.10
BoostConfig.cmake: allow searching for python310
2021-10-19 17:56:31 +03:00
Martin Jansa
e193f080c7 BoostConfig.cmake: allow searching for python310
* accept double digits in Python3_VERSION_MINOR

* if someone is using e.g.:
  find_package(Python3 REQUIRED)
  find_package(Boost REQUIRED python${Python3_VERSION_MAJOR}${Python3_VERSION_MINOR})

  with python-3.10 then it currently fails with:

  -- Found PythonLibs: /usr/lib/libpython3.10.so (found version "3.10.0")
  -- Found Python3: -native/usr/bin/python3-native/python3 (found version "3.10.0") found components: Interpreter
  CMake Error at /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:141 (find_package):
    Could not find a package configuration file provided by "boost_python310"
    (requested version 1.77.0) with any of the following names:

      boost_python310Config.cmake
      boost_python310-config.cmake

    Add the installation prefix of "boost_python310" to CMAKE_PREFIX_PATH or
    set "boost_python310_DIR" to a directory containing one of the above files.
    If "boost_python310" provides a separate development package or SDK, be
    sure it has been installed.
  Call Stack (most recent call first):
    /usr/lib/cmake/Boost-1.77.0/BoostConfig.cmake:258 (boost_find_component)
    /usr/share/cmake-3.21/Modules/FindBoost.cmake:594 (find_package)
    CMakeLists.txt:18 (find_package)

Signed-off-by: Martin Jansa <martin.jansa@lge.com>
2021-10-19 12:28:30 +00:00
Peter Dimov
fb27358cbb Merge branch 'patch-1' of https://github.com/traversaro/boost_install into feature/pr-52 2021-08-17 16:25:22 +03:00
Peter Dimov
1030b2c4c1 Add a test with lib=headers using staged (implicitly tests CONFIG) 2021-08-17 15:57:28 +03:00
Peter Dimov
e3584aef65 Test cmake_minimum_required(3.2) in test/headers (refs #52) 2021-08-17 15:19:04 +03:00
Peter Dimov
063988d347 Update BoostDetectedToolset.cmake 2021-08-17 15:06:17 +03:00
Peter Dimov
17cb22ca9c Update ci.yml 2021-08-17 14:42:44 +03:00
Peter Dimov
ff171f591f Update Boost version 2021-08-17 14:03:18 +03:00
Silvio Traversaro
4009ed07e7 Find find_package(Boost CONFIG) if cmake_minimum_required is <= 3.2 2021-07-17 18:12:07 +02:00
Peter Dimov
047edbaab4 Update Boost version boost-1.77.0.beta1 boost-1.77.0 2021-04-17 19:11:36 +03:00
Peter Dimov
c1878b042c Mark variables as advanced before returning boost-1.76.0 boost-1.76.0.beta1 2021-01-11 18:51:03 +02:00
Peter Dimov
bb5d73526d Update ci.yml 2020-12-23 07:16:50 +02:00
Peter Dimov
7b3fc73424 Only link to non-Boost dependencies when link=static (refs #47) 2020-12-23 03:31:45 +02:00
Peter Dimov
7a80782d91 Remove unnecessary python job 2020-12-23 03:00:45 +02:00
Peter Dimov
39ba0eb829 Try with 3.7;EXACT 2020-12-23 02:46:02 +02:00
Peter Dimov
59658b2aa5 Try with 3.7 EXACT 2020-12-23 02:26:53 +02:00
Peter Dimov
0c5bd68867 Add a user-config for the python configurations 2020-12-23 02:07:12 +02:00
Peter Dimov
4391aadaea Try python=3.9 2020-12-23 01:57:31 +02:00
Peter Dimov
4d48eeae5f Force python 3.7 because that's what b2 finds 2020-12-23 01:38:35 +02:00
Peter Dimov
e9e7dafa14 Add .dll directories to PATH 2020-12-23 01:15:38 +02:00
Peter Dimov
4a24619914 Add more Windows configurations 2020-12-23 01:06:00 +02:00
Peter Dimov
63ab0d1099 Remove failing python configuration 2020-12-23 00:42:55 +02:00
Peter Dimov
429a89dc88 Add USE_ALL_COMPONENTS=1 tests 2020-12-23 00:16:44 +02:00
Peter Dimov
a0d07f286f Add more python configurations 2020-12-23 00:14:11 +02:00
Peter Dimov
f3f0c5ab50 Install libpython2-dev for mpi; use python=2.7,3.8 for python 2020-12-22 23:47:02 +02:00
Peter Dimov
8c96bb5b93 Install libopenmpi-dev, libpython2-dev, libpython3-dev 2020-12-22 21:54:18 +02:00
Peter Dimov
a6a8904cfb Add using mpi ;; update LD_LIBRARY_PATH 2020-12-22 21:43:37 +02:00
Peter Dimov
b67938e413 Update staged jobs 2020-12-22 21:29:31 +02:00
Peter Dimov
dfc3e2d411 Fix clang version 2020-12-22 21:22:04 +02:00