mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-19 22:50:21 +00:00
ci.yml - let cmake figure out system dependencies automatically
This commit is contained in:
@@ -100,6 +100,8 @@ jobs:
|
|||||||
echo ${{ env.pythonLocation }}
|
echo ${{ env.pythonLocation }}
|
||||||
|
|
||||||
mkdir build && cd build
|
mkdir build && cd build
|
||||||
|
# Ubuntu 22.04's libocct-foundation-dev package doesn't have Config.cmake, so we provide OCC paths directly.
|
||||||
|
# In later versions of Ubuntu, this can be simplified and the OCC paths can be removed.
|
||||||
cmake \
|
cmake \
|
||||||
-DCMAKE_CXX_STANDARD=17 \
|
-DCMAKE_CXX_STANDARD=17 \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
@@ -113,14 +115,6 @@ jobs:
|
|||||||
-DCOLLADA_SUPPORT=Off \
|
-DCOLLADA_SUPPORT=Off \
|
||||||
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
|
"-DSCHEMA_VERSIONS=2x3;4;4x3_add2" \
|
||||||
-DGLTF_SUPPORT=On \
|
-DGLTF_SUPPORT=On \
|
||||||
-DJSON_INCLUDE_DIR=/usr/include \
|
|
||||||
-DCGAL_INCLUDE_DIR=/usr/include \
|
|
||||||
-DGMP_INCLUDE_DIR=/usr/include \
|
|
||||||
-DMPFR_INCLUDE_DIR=/usr/include \
|
|
||||||
-DGMP_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu \
|
|
||||||
-DMPFR_LIBRARY_DIR=/usr/lib/x86_64-linux-gnu \
|
|
||||||
-DHDF5_INCLUDE_DIR=/usr/include/hdf5/serial \
|
|
||||||
-DEIGEN_DIR=/usr/include/eigen3 \
|
|
||||||
-DWITH_ROCKSDB=On \
|
-DWITH_ROCKSDB=On \
|
||||||
../cmake
|
../cmake
|
||||||
sudo make -j $(nproc)
|
sudo make -j $(nproc)
|
||||||
|
|||||||
Reference in New Issue
Block a user