-
Notifications
You must be signed in to change notification settings - Fork 0
/
manylinux
20 lines (19 loc) · 1.07 KB
/
manylinux
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
TYPE=Release
CXXFLAGS="-Os -w -DDNDEBUG -DNDEBUG -DDUNE_MINIMAL_DEBUG_LEVEL=5 -std=c++17 -fPIC -fno-strict-aliasing"
CXX=g++
CC=gcc
F77=gfortran
BUILDDIR="${DUNE_BUILD_DIR}"
CMAKE_FLAGS="-DENABLE_HEADERCHECK=0 -DCMAKE_BUILD_TYPE=${TYPE} -DDXT_DONT_LINK_PYTHON_LIB=1 \
-DDUNE_PYTHON_ALLOW_GET_PIP=FALSE -DDUNE_PYTHON_VIRTUALENV_SETUP=FALSE -DDXT_TEST_PROCS=4 \
-DCMAKE_CXX_COMPILER=${CXX} -DCMAKE_C_COMPILER=${CC} -DCMAKE_CXX_FLAGS='${CXXFLAGS}' \
-DDUNE_GRID_EXPERIMENTAL_GRID_EXTENSIONS=TRUE -DCMAKE_INSTALL_PREFIX=${DUNE_INSTALL_PREFIX} \
-DBOOST_ROOT=/usr/ -DBOOST_INCLUDEDIR=/usr/include/boost169 \
-G 'Ninja'\
-DBOOST_LIBRARYDIR=/usr/lib64/boost169 -DPython_ROOT_DIR=${PYTHON_ROOT_DIR} \
-DPython3_ROOT_DIR=${PYTHON_ROOT_DIR} \
-DPython3_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python3 \
-DPython3_COMPILER=${PYTHON_ROOT_DIR}/bin/python3 \
-DPYTHON_EXECUTABLE=${PYTHON_ROOT_DIR}/bin/python -DPYBIND11_PYTHON_VERSION=${PYTHON_VERSION} \
-DDUNE_PYTHON_VIRTUALENV_INTERPRETER=${PYTHON_ROOT_DIR}/bin/python \
-DCMAKE_SHARED_LINKER_FLAGS="-s" -DCMAKE_EXE_LINKER_FLAGS=-s"