diff --git a/.github/workflows/gha_ci.yml b/.github/workflows/gha_ci.yml index ee5e0f980..78063daa3 100644 --- a/.github/workflows/gha_ci.yml +++ b/.github/workflows/gha_ci.yml @@ -45,6 +45,26 @@ jobs: cmake ../ -G "Visual Studio 17 2022" -A x64 -DHEYOKA_BUILD_TESTS=yes -DHEYOKA_WITH_MPPP=yes -DHEYOKA_BUILD_TUTORIALS=ON -DHEYOKA_ENABLE_IPO=yes -DHEYOKA_WITH_SLEEF=yes cmake --build . --config Release -j2 copy Release\heyoka.dll test\Release\ + windows_2022_llvm_latest_clang: + runs-on: windows-2022 + steps: + - uses: actions/checkout@v4 + - uses: conda-incubator/setup-miniconda@v3 + with: + auto-update-conda: true + python-version: "3.10" + channels: conda-forge + channel-priority: strict + - uses: ilammy/msvc-dev-cmd@v1 + - name: Build + shell: pwsh + run: | + conda install -y cmake clang ninja llvmdev tbb-devel tbb libboost-devel xtensor xtensor-blas blas blas-devel fmt spdlog sleef zlib libzlib 'mppp=1.*' + mkdir build + cd build + cmake ../ -G "Ninja" -DCMAKE_C_COMPILER=clang-cl -DCMAKE_CXX_COMPILER=clang-cl -DHEYOKA_BUILD_TESTS=yes -DHEYOKA_WITH_MPPP=yes -DHEYOKA_BUILD_TUTORIALS=ON -DHEYOKA_ENABLE_IPO=yes -DHEYOKA_WITH_SLEEF=yes + cmake --build . -j4 -- -v + copy Release\heyoka.dll test\Release\ conda_release_static: runs-on: ubuntu-latest steps: diff --git a/CMakeLists.txt b/CMakeLists.txt index 6cfdd07bf..aed2ec827 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -517,7 +517,7 @@ if(NOT ${Boost_FOUND}) message(FATAL_ERROR "Could not locate Boost in either CONFIG or MODULE mode.") endif() message(STATUS "Found Boost version ${Boost_VERSION}.") -target_link_libraries(heyoka PUBLIC Boost::boost Boost::serialization) +target_link_libraries(heyoka PUBLIC Boost::boost Boost::serialization Boost::disable_autolinking Boost::dynamic_linking) # NOTE: quench warnings from Boost when building the library. target_compile_definitions(heyoka PRIVATE BOOST_ALLOW_DEPRECATED_HEADERS)