Skip to content

Commit 7180b44

Browse files
authored
Build with tbb (#9)
* Enable tbb Signed-off-by: Jade Turner <[email protected]> * fix Signed-off-by: Jade Turner <[email protected]> --------- Signed-off-by: Jade Turner <[email protected]>
1 parent be5c800 commit 7180b44

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

.github/workflows/main.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ jobs:
3737
with:
3838
java-version: 17
3939
distribution: 'temurin'
40-
- name: Install Ninja
40+
- name: Install Dependencies
4141
run: |
4242
sudo apt-get update -q
43-
sudo apt-get install -y ninja-build build-essential
43+
sudo apt-get install -y ninja-build build-essential libtbb-dev
4444
- name: Install sccache
4545
uses: mozilla-actions/[email protected]
4646
- name: Build with Gradle

CMakeLists.txt

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,13 @@ fetchcontent_declare(
1919
GIT_TAG 0fb2ed140d4fc0108553ecfb25f2d7fc1a9319a1
2020
SYSTEM # Ignore warnings
2121
# Make gtsam pick up this Eigen as our system Eigen
22-
OVERRIDE_FIND_PACKAGE
22+
OVERRIDE_FIND_PACKAGE
2323
)
2424

2525
# And build GTSAM
2626
set(GTSAM_COMPILE_OPTIONS_PRIVATE_DEBUG CACHE INTERNAL FORCE)
2727
set(GTSAM_COMPILE_OPTIONS_PRIVATE_RELWITHDEBINFO CACHE INTERNAL FORCE)
2828
set(GTSAM_ENABLE_BOOST_SERIALIZATION OFF)
29-
set(GTSAM_WITH_TBB OFF)
3029
set(GTSAM_USE_BOOST_FEATURES OFF)
3130
set(GTSAM_BUILD_PYTHON OFF)
3231
set(GTSAM_BUILD_EXAMPLES_ALWAYS OFF)

0 commit comments

Comments
 (0)