Skip to content

Commit

Permalink
link to tbb
Browse files Browse the repository at this point in the history
  • Loading branch information
pet-mit committed Nov 21, 2024
1 parent bf5c8a0 commit f917f8d
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
if: "!contains(github.event.head_commit.message, '[skip ci]')"
strategy:
matrix:
os: [ ubuntu-22.04 ]
os: [ ubuntu-20.04 ]
env:
VCPKG_BINARY_SOURCES: "clear;files,${{ github.workspace }}/vcpkg_cache,readwrite"
ORTOOLS_DIR: $GITHUB_WORKSPACE/or-tools
Expand Down
3 changes: 2 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ if (${BUILD_antares_solver})
#check if antares_solver available before asking for sirius and ortools build
find_package(Antares QUIET)
if (NOT Antares_FOUND)
message(WARNING "Antares solver not found, will be build")
message(WARNING "Antares solver not found, will be built")
set(BUILD_sirius ON)
set(BUILD_ortools ON)
if (NOT Antares_FOUND)
Expand Down Expand Up @@ -206,6 +206,7 @@ if (CMAKE_SYSTEM_NAME STREQUAL Linux)
set(THREADS_PREFER_PTHREAD_FLAG ON)
endif ()
find_package(Threads REQUIRED)
find_package(TBB REQUIRED COMPONENTS tbb)

find_package(ZLIB REQUIRED) #Required for CoinUtils

Expand Down
1 change: 1 addition & 0 deletions src/cpp/benders/benders_core/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ target_link_libraries(benders_core
antaresXpansion::solvers
${JSONCPP_LIB}
antaresXpansion::outer_loop_lib
TBB::tbb
)

install(DIRECTORY include/antares-xpansion
Expand Down
1 change: 1 addition & 0 deletions src/cpp/exe/full_run/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ target_link_libraries(full_run
${PROJECT_NAME}::benders_sequential_core
${PROJECT_NAME}::xpansion_study_updater_lib
antaresXpansion::helpers
TBB::tbb
)

install(TARGETS full_run DESTINATION bin)
1 change: 1 addition & 0 deletions src/cpp/lpnamer/problem_modifier/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ target_link_libraries(lp_namer_problem_modifier
antaresXpansion::helpers
antaresXpansion::solvers
Antares::antares-solver-simulation
TBB::tbb
)

add_library(${PROJECT_NAME}::lp_namer_problem_modifier ALIAS lp_namer_problem_modifier)
Expand Down

0 comments on commit f917f8d

Please sign in to comment.