Skip to content
Snippets Groups Projects
Commit 63a36b8f authored by Auke Klazema's avatar Auke Klazema
Browse files

SW-976: Set USE_PYTHON to true for most packages

parent 5095271e
No related branches found
No related tags found
3 merge requests!634WIP: COBALT commissioning delta,!482SW-976: Set USE_PYTHON to true for most packages,!481Draft: SW-971 SW-973 SW-975: Various fixes to build LOFAR correctly.
......@@ -14,6 +14,7 @@ include:
variables:
FASTLANE: "false"
VERSION: "0.0.0"
USE_PYTHON: "true"
set_version:
stage: .pre
......@@ -29,7 +30,7 @@ set_version:
- echo "Building $PACKAGE..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES=$PACKAGE -DWINCC_ROOT_DIR=/opt/WinCC_OA/3.16/ -DBLITZ_ROOT_DIR=/opt/blitz/ -DCASACORE_ROOT_DIR=/opt/casacore/ -DCMAKE_INSTALL_PREFIX=/opt/lofar ../..
- cmake -DBUILD_PACKAGES=$PACKAGE -DUSE_PYTHON=$USE_PYTHON -DWINCC_ROOT_DIR=/opt/WinCC_OA/3.16/ -DBLITZ_ROOT_DIR=/opt/blitz/ -DCASACORE_ROOT_DIR=/opt/casacore/ -DCMAKE_INSTALL_PREFIX=/opt/lofar ../..
- make -j $(nproc)
- make DESTDIR=${CI_BUILDS_DIR}/${CI_COMMIT_SHORT_SHA}/install install
- cd ${CI_BUILDS_DIR}/${CI_COMMIT_SHORT_SHA}/install/opt/lofar
......@@ -97,7 +98,7 @@ build_SCU:
- echo "Building SCU & TMSSFrontend..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES="SCU TMSSFrontend" -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DUSE_LOG4CPLUS=false ../..
- cmake -DBUILD_PACKAGES="SCU TMSSFrontend" -DUSE_PYTHON=$USE_PYTHON -DCASACORE_ROOT_DIR=/opt/casacore/ -DCASAREST_ROOT_DIR=/opt/casarest/ -DUSE_LOG4CPLUS=false ../..
- make -j $(nproc)
- make install
interruptible: true
......@@ -116,7 +117,7 @@ build_LTAIngest:
- echo "Building $PACKAGE..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES="$PACKAGE" -DUSE_LOG4CPLUS=false ../..
- cmake -DBUILD_PACKAGES="$PACKAGE" -DUSE_PYTHON=$USE_PYTHON -DUSE_LOG4CPLUS=false ../..
- make -j $(nproc)
- make install
interruptible: true
......@@ -135,7 +136,7 @@ build_LTAIngestTransfer:
- echo "Building $PACKAGE..."
- mkdir -p build/gnucxx11_opt
- cd build/gnucxx11_opt
- cmake -DBUILD_PACKAGES="$PACKAGE" -DUSE_LOG4CPLUS=false ../..
- cmake -DBUILD_PACKAGES="$PACKAGE" -DUSE_PYTHON=$USE_PYTHON -DUSE_LOG4CPLUS=false ../..
- make -j $(nproc)
- make install
interruptible: true
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment