Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update builders #37

Merged
merged 51 commits into from
Feb 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
a6adf16
First dockerfile iteration for 22.04 builder
bakpaul Oct 2, 2023
d0d9188
FIX unit-test script, it launches now the plugins regression tests
bakpaul Sep 20, 2023
fe93831
Cuda installation, still need to deal with the promp
bakpaul Oct 4, 2023
c6284c7
More details on the timemout (#24)
alxbilger Sep 29, 2023
cb251b5
New builder working even with tests
bakpaul Oct 5, 2023
8c28cf5
Reduced image size
bakpaul Oct 10, 2023
aa778ac
Merge branch 'master' into new_ubuntu_builder
alxbilger Oct 12, 2023
b3fbbcc
Changed the environement specifications
bakpaul Oct 13, 2023
7bfa176
First attempt at passing fedora to 36
bakpaul Oct 13, 2023
a2441ef
update nightly accordingly
bakpaul Oct 13, 2023
5aaddb1
updated packages version for windows
bakpaul Oct 26, 2023
950d5f4
First round of fix, still problems with CGAL, OpenCascade, ZMQ and VRPN
bakpaul Oct 27, 2023
145f851
Update windows configuration
bakpaul Oct 30, 2023
2ecb043
divie windows configure file to avoid any environment errors
bakpaul Nov 2, 2023
284e73f
Builder install working
bakpaul Nov 10, 2023
865fa75
Build ok, still need to add metis compilation and tinyxml2
bakpaul Nov 23, 2023
e7a49b6
ADD metis and tinyxml2 compilation
bakpaul Nov 28, 2023
44e10ce
UPDATE builders with metis dependency
bakpaul Dec 12, 2023
b681138
Merge branch 'master' into new_ubuntu_builder
bakpaul Dec 13, 2023
39777fd
new metis way
bakpaul Dec 13, 2023
f8144a3
up
bakpaul Jan 2, 2024
e3b8c06
add config for new builder
bakpaul Jan 2, 2024
345cf71
add configuration file for each n ew builder
bakpaul Jan 2, 2024
6134c92
add setup file for ubuntu builder
bakpaul Jan 2, 2024
61aced0
Changed configuration file name to match builder names
bakpaul Jan 2, 2024
238eb0a
fix names
bakpaul Jan 3, 2024
45732ee
Merge branch 'new_ubuntu_builder' into builders_transition
bakpaul Jan 3, 2024
5d7c58f
Remove configuration that are already set in te dockerfile
bakpaul Jan 4, 2024
e3c91ba
add doxygen to builders
bakpaul Jan 4, 2024
b295f41
clean
bakpaul Jan 5, 2024
69d42f9
Fix windows configuration
bakpaul Jan 9, 2024
5cd601a
Merge remote-tracking branch 'origin/new_windows_builder' into builde…
bakpaul Jan 10, 2024
980e6e5
Update number of threads
bakpaul Jan 10, 2024
63c1e3e
correct Qt version in env + cleaning
bakpaul Jan 11, 2024
737bd1a
FIX metis crash
bakpaul Jan 15, 2024
c0b61da
update fedora
bakpaul Jan 15, 2024
0678e05
test new version of METIS
bakpaul Jan 16, 2024
4b025ce
Test reducing number of thread for full compilation
bakpaul Jan 16, 2024
e5aa70c
Update setup-windows_3.bat
bakpaul Jan 18, 2024
1cc0087
update path
bakpaul Jan 18, 2024
58545b6
change python 3.11 patch
bakpaul Jan 18, 2024
6eb1fdb
update config file for ubuntu VM
bakpaul Jan 19, 2024
dd7644d
chage windows config
bakpaul Jan 23, 2024
41d6f72
Add path to python lib when a regression test is launched
bakpaul Feb 7, 2024
c84f9c6
Fix and clean
bakpaul Feb 8, 2024
734983f
cleaning
bakpaul Feb 8, 2024
c52f675
merge modifications
bakpaul Feb 12, 2024
59c8ce0
Remove metis from docker and update cuda
bakpaul Feb 12, 2024
4fd3e9d
update cuda version to match windows
bakpaul Feb 12, 2024
44e2d19
Reduce the number of concurrent building thread
bakpaul Feb 12, 2024
e98ce97
Merge branch 'master' into builders_transition
bakpaul Feb 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docker/sofa_nightly_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

SHELL ["/bin/bash", "-c"]

Expand Down
63 changes: 35 additions & 28 deletions docker/sofabuilder_fedora/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM fedora:34
FROM fedora:36

SHELL ["/bin/bash", "-c"]

Expand All @@ -14,7 +14,7 @@ ENV HOME="/home/ci"
# RUN yum install -y -q centos-release-scl-rh
# RUN yum install -y -q http://repo.okay.com.mx/centos/7/x86_64/release/okay-release-1-5.el7.noarch.rpm
# RUN yum install -y -q https://packages.endpoint.com/rhel/7/os/x86_64/endpoint-repo-1.9-1.x86_64.rpm
RUN yum install -y -q http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-34.noarch.rpm
RUN yum install -y -q http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-36.noarch.rpm
RUN yum update -y && yum upgrade -y && yum clean all

# Install system tools
Expand Down Expand Up @@ -43,54 +43,53 @@ RUN yum install -y -q \
# Install plugin deps
RUN yum install -y -q \
python2.7 \
python3.7 \
python3.8 \
python3.9 \
python3.10 \
python3.11 \
python3.12 \
libpng-devel libjpeg-turbo-devel libtiff-devel \
blas-devel \
lapack-devel \
suitesparse-devel \
ffmpeg-devel \
assimp-devel \
opencascade-devel \
libXrandr-devel
libXrandr-devel \
tinyxml2-devel

# Install pip, numpy, scipy, pybind11
ARG PYBIND11_VERSION=2.6.2
RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
&& python2.7 /tmp/get-pip2.py \
&& python2.7 -m pip install --upgrade "pip == 20.3.4" \
&& python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
ARG PYBIND11_VERSION=2.9.1
#RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
# && python2.7 /tmp/get-pip2.py \
# && python2.7 -m pip install --upgrade "pip == 20.3.4" \
# && python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
#RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py
#RUN python3.10 /tmp/get-pip3.py
RUN python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.7 /tmp/get-pip3.py \
&& python3.7 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.11 /tmp/get-pip3.py \
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.8 /tmp/get-pip3.py \
&& python3.8 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN python3.9 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.10 /tmp/get-pip3.py \
&& python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
&& python3.12 /tmp/get-pip3.py \
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
ENV PYTHONPATH=""
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="true"

###################################

# Install CMake
ARG CMAKE_VERSION=3.16.3
ARG CMAKE_VERSION=3.22.1
ADD https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.sh /tmp/cmake.sh
RUN chmod a+x /tmp/cmake.sh
RUN /tmp/cmake.sh --skip-license --prefix=/usr/local

# Install Qt
ARG QT_VERSION=5.12.8
ARG QT_VERSION=5.12.12
ARG QT_INSTALLDIR="/opt/Qt"
RUN python3.8 -m pip install aqtinstall \
&& python3.8 -m aqt install-qt --outputdir $QT_INSTALLDIR linux desktop $QT_VERSION gcc_64 -m qtcharts qtwebengine
RUN python3.10 -m pip install aqtinstall \
&& python3.10 -m aqt install-qt --outputdir $QT_INSTALLDIR linux desktop $QT_VERSION gcc_64 -m qtcharts qtwebengine
RUN yum install -y -q libxkbcommon-x11 libwayland-cursor xcb-util-* \
&& python3.8 -m aqt install-tool --outputdir $QT_INSTALLDIR linux desktop tools_ifw \
&& python3.10 -m aqt install-tool --outputdir $QT_INSTALLDIR linux desktop tools_ifw \
|| true
ENV QT_INSTALLDIR="$QT_INSTALLDIR"
ENV QTDIR="$QT_INSTALLDIR/$QT_VERSION/gcc_64"
Expand All @@ -105,8 +104,8 @@ ENV LD_LIBRARY_PATH="${BOOST_LIBRARYDIR}${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}"

# Install CGAL
# Due to dependencies on Boost and Qt, we have to build CGAL
ARG CGAL_VERSION=5.0.2
ADD https://github.com/CGAL/cgal/releases/download/releases/CGAL-$CGAL_VERSION/CGAL-$CGAL_VERSION.tar.xz /tmp/CGAL.tar.xz
ARG CGAL_VERSION=5.4.5
ADD https://github.com/CGAL/cgal/releases/download/v$CGAL_VERSION/CGAL-$CGAL_VERSION.tar.xz /tmp/CGAL.tar.xz
RUN yum install -y -q gmp-devel mpfr-devel
RUN tar -xJf /tmp/CGAL.tar.xz --directory /tmp \
&& cd /tmp/CGAL-$CGAL_VERSION \
Expand All @@ -119,6 +118,14 @@ RUN tar -xJf /tmp/CGAL.tar.xz --directory /tmp \
ENV VM_HAS_CGAL="true"
ENV VM_CGAL_PATH="/usr/local/lib64/cmake/CGAL"


# Install METIS
#RUN git clone https://github.com/sofa-framework/METIS.git \
# && cd METIS \
# && git checkout v5.2.1-ModernInstall \
# && cd .. && mkdir build && cd build \
# && cmake ../METIS \
# && make --silent install -j 5
###################################

# Disable core dumps
Expand All @@ -132,8 +139,8 @@ ENV PYTHONIOENCODING="UTF-8"
ENV PYTHONUSERBASE="/tmp/pythonuserbase"
RUN mkdir -p "$PYTHONUSERBASE" && chmod -R 777 "$PYTHONUSERBASE"
ENV VM_PYTHON_EXECUTABLE="/usr/bin/python2.7"
ENV VM_PYTHON3_EXECUTABLE="/usr/bin/python3.8"
ENV VM_PYBIND11_CONFIG_EXECUTABLE="/usr/bin/python3.8 -m pybind11"
ENV VM_PYTHON3_EXECUTABLE="/usr/bin/python3.10"
ENV VM_PYBIND11_CONFIG_EXECUTABLE="/usr/bin/python3.10 -m pybind11"
RUN git config --system user.name 'SOFA Bot' || git config --global user.name 'SOFA Bot'
RUN git config --system user.email '<>' || git config --global user.email '<>'

Expand Down
85 changes: 48 additions & 37 deletions docker/sofabuilder_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM ubuntu:20.04
FROM ubuntu:22.04

SHELL ["/bin/bash", "-c"]

Expand Down Expand Up @@ -32,26 +32,26 @@ RUN apt-get install -y \
RUN apt-get install -y \
build-essential \
ninja-build=1.10.\* \
gcc=4:9.3.\* \
g++=4:9.3.\* \
clang=1:10.0-\* \
ccache=3.7.\*
gcc=4:11.\* \
g++=4:11.\* \
clang=1:14.0-\* \
ccache=4.5.\*

# Install core deps
RUN apt-get install -y \
libboost-all-dev=1.71.\* \
libglew-dev=2.1.\* \
libboost-all-dev=1.74.\* \
libglew-dev=2.2.\* \
freeglut3-dev=2.8.\* \
zlib1g-dev=1:1.2.\* \
libeigen3-dev=3.3.\*
libeigen3-dev=3.4.\*

# Install plugins deps
ENV DEBIAN_FRONTEND noninteractive
RUN apt-get install -y \
python2.7-dev \
python3.7-dev python3.7-distutils \
python3.8-dev python3-distutils=3.8.\* \
python3.9-dev python3.9-distutils \
python3.10-dev python3.10-distutils \
python3.11-dev python3.11-distutils \
python3.12-dev python3.12-distutils \
libpng-dev libjpeg-dev libtiff-dev \
libblas-dev \
liblapack-dev \
Expand All @@ -60,48 +60,45 @@ RUN apt-get install -y \
libassimp-dev \
liboce-ocaf-dev \
libzmq3-dev liboscpack-dev \
libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev
libxrandr-dev libxinerama-dev libxcursor-dev libxi-dev \
libtinyxml2-dev

# Install pip, numpy, scipy, pybind11
ARG PYBIND11_VERSION=2.6.2
ARG PYBIND11_VERSION=2.9.1
RUN curl -L https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip2.py \
&& python2.7 /tmp/get-pip2.py \
&& python2.7 -m pip install --upgrade "pip == 20.3.4" \
&& python2.7 -m pip install "numpy == 1.16.6" "scipy == 1.2.3" "matplotlib == 2.2.5"
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.7 /tmp/get-pip3.py \
&& python3.7 -m pip install --upgrade pip \
&& python3.7 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.8 /tmp/get-pip3.py \
&& python3.8 -m pip install --upgrade pip \
&& python3.8 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.9 /tmp/get-pip3.py \
&& python3.9 -m pip install --upgrade pip \
&& python3.9 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.10 /tmp/get-pip3.py \
&& python3.10 -m pip install --upgrade pip \
&& python3.10 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.11 /tmp/get-pip3.py \
&& python3.11 -m pip install --upgrade pip \
&& python3.11 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
RUN curl -L https://bootstrap.pypa.io/pip/get-pip.py --output /tmp/get-pip3.py \
&& python3.12 /tmp/get-pip3.py \
&& python3.12 -m pip install --upgrade pip \
&& python3.12 -m pip install numpy scipy matplotlib pybind11==$PYBIND11_VERSION
ENV VM_HAS_ASSIMP="true"
ENV VM_HAS_OPENCASCADE="true"

###################################

# Install CMake
ARG CMAKE_VERSION=3.16.3
ARG CMAKE_VERSION=3.22.1
ADD https://github.com/Kitware/CMake/releases/download/v$CMAKE_VERSION/cmake-$CMAKE_VERSION-Linux-x86_64.sh /tmp/cmake.sh
RUN chmod a+x /tmp/cmake.sh
RUN /tmp/cmake.sh --skip-license --prefix=/usr/local

# Install Qt
ARG QT_VERSION=5.12.8
ARG QT_VERSION=5.12.12
ARG QT_INSTALLDIR="/opt/Qt"
RUN python3.8 -m pip install aqtinstall \
&& python3.8 -m aqt install-qt --outputdir $QT_INSTALLDIR linux desktop $QT_VERSION gcc_64 -m qtcharts qtwebengine
RUN python3.10 -m pip install aqtinstall \
&& python3.10 -m aqt install-qt --outputdir $QT_INSTALLDIR linux desktop $QT_VERSION gcc_64 -m qtcharts qtwebengine
RUN apt-get install -y libxkbcommon-x11-0 libwayland-cursor0 libxcb-* \
&& python3.8 -m aqt install-tool --outputdir $QT_INSTALLDIR linux desktop tools_ifw \
&& python3.10 -m aqt install-tool --outputdir $QT_INSTALLDIR linux desktop tools_ifw \
|| true
ENV QT_INSTALLDIR="$QT_INSTALLDIR"
ENV QTDIR="$QT_INSTALLDIR/$QT_VERSION/gcc_64"
Expand All @@ -110,8 +107,8 @@ ENV PATH="$QTDIR/bin${PATH:+:${PATH}}"

# Install CGAL
# Due to dependencies on Boost and Qt, we have to build CGAL
ARG CGAL_VERSION=5.0.2
ADD https://github.com/CGAL/cgal/releases/download/releases/CGAL-$CGAL_VERSION/CGAL-$CGAL_VERSION.tar.xz /tmp/CGAL.tar.xz
ARG CGAL_VERSION=5.4.5
ADD https://github.com/CGAL/cgal/releases/download/v$CGAL_VERSION/CGAL-$CGAL_VERSION.tar.xz /tmp/CGAL.tar.xz
RUN apt-get install -y libgmp-dev libmpfr-dev
RUN tar -xJf /tmp/CGAL.tar.xz --directory /tmp \
&& cd /tmp/CGAL-$CGAL_VERSION \
Expand All @@ -122,13 +119,27 @@ RUN tar -xJf /tmp/CGAL.tar.xz --directory /tmp \
ENV VM_HAS_CGAL="true"
ENV VM_CGAL_PATH="/usr/local/lib/cmake/CGAL"


# Install METIS
#RUN git clone https://github.com/sofa-framework/METIS.git \
# && cd METIS \
# && git checkout v5.2.1-ModernInstall \
# && cd .. && mkdir build && cd build \
# && cmake ../METIS && cmake -LAH | grep GKRAND\
# && make --silent install -j 5

# Install CUDA
RUN apt-get install -y nvidia-cuda-toolkit
ENV DEBIAN_FRONTEND noninteractive
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.0-1_all.deb
RUN dpkg -i cuda-keyring_1.0-1_all.deb
RUN apt-get update
RUN apt-get -y install cuda-toolkit-12-2
ENV VM_HAS_CUDA="true"
ENV VM_CUDA_HOST_COMPILER="/usr/bin/gcc-8"
ENV PATH=$PATH:/usr/local/cuda/bin


# Install NodeEditor (needed by SofaQtQuick)
ARG NODEEDITOR_VERSION=2.1.3
ARG NODEEDITOR_VERSION=2.2.4
RUN git clone -b $NODEEDITOR_VERSION --depth 1 https://github.com/paceholder/nodeeditor.git /tmp/nodeeditor/src \
&& mkdir /tmp/nodeeditor/build && cd /tmp/nodeeditor/build \
&& cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_EXAMPLES=OFF -DBUILD_TESTING=OFF ../src \
Expand All @@ -147,8 +158,8 @@ ENV PYTHONIOENCODING="UTF-8"
ENV PYTHONUSERBASE="/tmp/pythonuserbase"
RUN mkdir -p "$PYTHONUSERBASE" && chmod -R 777 "$PYTHONUSERBASE"
ENV VM_PYTHON_EXECUTABLE="/usr/bin/python2.7"
ENV VM_PYTHON3_EXECUTABLE="/usr/bin/python3.8"
ENV VM_PYBIND11_CONFIG_EXECUTABLE="/usr/bin/python3.8 -m pybind11"
ENV VM_PYTHON3_EXECUTABLE="/usr/bin/python3.10"
ENV VM_PYBIND11_CONFIG_EXECUTABLE="/usr/bin/python3.10 -m pybind11"
RUN git config --system user.name 'SOFA Bot' || git config --global user.name 'SOFA Bot'
RUN git config --system user.email '<>' || git config --global user.email '<>'

Expand Down
Empty file added docker/sofabuilder_ubuntu/log
Empty file.
34 changes: 18 additions & 16 deletions scripts/configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,24 +92,26 @@ add-cmake-option "-DCMAKE_BUILD_TYPE=$BUILD_TYPE_CMAKE"

# Compiler and cache
if vm-is-windows; then

echo "clcache is disabled temporarly"
# Compiler
# see comntools usage in call-cmake() for compiler selection on Windows

# Cache
if [ -e "$(command -v clcache)" ]; then
export CLCACHE_DIR="J:/clcache"
if [ -n "$EXECUTOR_LINK_WINDOWS_BUILD" ]; then
export CLCACHE_BASEDIR="$EXECUTOR_LINK_WINDOWS_BUILD"
else
export CLCACHE_BASEDIR="$BUILD_DIR"
fi
#export CLCACHE_HARDLINK=1 # this may cause cache corruption. see https://github.com/frerich/clcache/issues/282
export CLCACHE_OBJECT_CACHE_TIMEOUT_MS=3600000
clcache -M 17179869184 # Set cache size to 1024*1024*1024*16 = 16 GB

add-cmake-option "-DCMAKE_C_COMPILER=clcache"
add-cmake-option "-DCMAKE_CXX_COMPILER=clcache"
fi
# Cache //TODO : make clcache work on windows builder
# if [ -e "$(command -v clcache)" ]; then
# export CLCACHE_DIR="C:/clcache"
# if [ -n "$EXECUTOR_LINK_WINDOWS_BUILD" ]; then
# export CLCACHE_BASEDIR="$EXECUTOR_LINK_WINDOWS_BUILD"
# else
# export CLCACHE_BASEDIR="$BUILD_DIR"
# fi
# #export CLCACHE_HARDLINK=1 # this may cause cache corruption. see https://github.com/frerich/clcache/issues/282
# export CLCACHE_OBJECT_CACHE_TIMEOUT_MS=3600000
# clcache -M 17179869184 # Set cache size to 1024*1024*1024*16 = 16 GB

# add-cmake-option "-DCMAKE_C_COMPILER=clcache"
# add-cmake-option "-DCMAKE_CXX_COMPILER=clcache"
# fi
else
# Compiler
case "$COMPILER" in
Expand Down Expand Up @@ -402,7 +404,7 @@ elif in-array "build-scope-full" "$BUILD_OPTIONS"; then
add-cmake-option "-DPLUGIN_BULLETCOLLISIONDETECTION=OFF"
fi
if [[ "$VM_HAS_CGAL" == "true" ]]; then
add-cmake-option "-DPLUGIN_CGALPLUGIN=OFF -DSOFA_FETCH_CGALPLUGIN=OFF"
add-cmake-option "-DPLUGIN_CGALPLUGIN=ON -DSOFA_FETCH_CGALPLUGIN=ON"
else
add-cmake-option "-DPLUGIN_CGALPLUGIN=OFF -DSOFA_FETCH_CGALPLUGIN=OFF"
fi
Expand Down
6 changes: 3 additions & 3 deletions scripts/env/sofa-ci-dev-ubuntu2204-0
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@

export VM_HAS_REQUIRED_LIBS="true"

export VM_MAKE_OPTIONS="-j7"
export VM_MAKE_OPTIONS="-j5"

export VM_MAX_PARALLEL_TESTS="7"

export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-8"
export VM_CUDA_ARCH="sm_50"


if [ ! -f /.dockerenv ]; then # not in Docker
export VM_HAS_BULLET="false"

Expand All @@ -34,7 +34,7 @@ if [ ! -f /.dockerenv ]; then # not in Docker

export VM_CUDA_ARCH="sm_50"

export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-6"
# export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-6"

# Load Qt environment
if [ -e "/opt/qt512/bin/qt512-env.sh" ]; then
Expand Down
5 changes: 2 additions & 3 deletions scripts/env/sofa-ci-dev-ubuntu2204-1
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@

export VM_HAS_REQUIRED_LIBS="true"

export VM_MAKE_OPTIONS="-j7"
export VM_MAKE_OPTIONS="-j5"

export VM_MAX_PARALLEL_TESTS="7"

export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-8"
export VM_CUDA_ARCH="sm_50"

if [ ! -f /.dockerenv ]; then # not in Docker
Expand All @@ -34,7 +33,7 @@ if [ ! -f /.dockerenv ]; then # not in Docker

export VM_CUDA_ARCH="sm_50"

export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-6"
# export VM_CUDA_HOST_COMPILER="/usr/bin/gcc-6"

# Load Qt environment
if [ -e "/opt/qt512/bin/qt512-env.sh" ]; then
Expand Down
Loading
Loading