Skip to content
Snippets Groups Projects
Commit f4de02d4 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

4.2.3

parent a61bc124
No related branches found
No related tags found
No related merge requests found
Pipeline #3949 passed
4.2.3: added STL export by physical surface; added ability to remove embedded 4.2.3 (April 3, 2019): added STL export by physical surface; added ability to
entities; added handling of boundary entities in addDiscreteEntity; small bug remove embedded entities; added handling of boundary entities in
fixes. addDiscreteEntity; small bug fixes.
4.2.2 (March 13, 2019): fixed regression in reading of extruded meshes; added 4.2.2 (March 13, 2019): fixed regression in reading of extruded meshes; added
ability to export one solid per surface in STL format. ability to export one solid per surface in STL format.
......
...@@ -105,6 +105,9 @@ RUN git clone https://github.com/fltk/fltk.git && cd fltk && make -j 4 && make i ...@@ -105,6 +105,9 @@ RUN git clone https://github.com/fltk/fltk.git && cd fltk && make -j 4 && make i
# Minimal Gmsh library # Minimal Gmsh library
# ----------------------- # -----------------------
# "docker build --build-arg REBUILD_GMSH=yes"
ARG REBUILD_GMSH=
RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_PRIVATE_API=1 .. && make -j 4 lib && make install/fast && cd ../.. && rm -rf gmsh RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_PRIVATE_API=1 .. && make -j 4 lib && make install/fast && cd ../.. && rm -rf gmsh
VOLUME ["/etc/gitlab-runner"] VOLUME ["/etc/gitlab-runner"]
......
...@@ -105,6 +105,9 @@ RUN git clone https://github.com/fltk/fltk.git && cd fltk && make -j 4 && make i ...@@ -105,6 +105,9 @@ RUN git clone https://github.com/fltk/fltk.git && cd fltk && make -j 4 && make i
# Minimal Gmsh library # Minimal Gmsh library
# ----------------------- # -----------------------
# "docker build --build-arg REBUILD_GMSH=yes"
ARG REBUILD_GMSH=
RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_PRIVATE_API=1 .. && make -j 4 lib && make install/fast && cd ../.. && rm -rf gmsh RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_LIB=1 -DENABLE_PRIVATE_API=1 .. && make -j 4 lib && make install/fast && cd ../.. && rm -rf gmsh
VOLUME ["/etc/gitlab-runner"] VOLUME ["/etc/gitlab-runner"]
......
...@@ -11,8 +11,8 @@ RUN apt-get install -y libc6-dbg ...@@ -11,8 +11,8 @@ RUN apt-get install -y libc6-dbg
ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH ENV LD_LIBRARY_PATH /usr/local/lib:$LD_LIBRARY_PATH
ENV PATH /usr/local/bin:$PATH ENV PATH /usr/local/bin:$PATH
# "docker build --build-arg REDO_FROM_HERE=yes" # "docker build --build-arg REBUILD_GMSH=yes"
ARG REDO_FROM_HERE= ARG REBUILD_GMSH=
RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_SHARED=1 -DENABLE_PRIVATE_API=1 .. && make -j8 shared && make install/fast && cd .. && rm -rf gmsh RUN git clone https://gitlab.onelab.info/gmsh/gmsh.git && cd gmsh && mkdir build && cd build && cmake -DDEFAULT=0 -DENABLE_PARSER=1 -DENABLE_POST=1 -DENABLE_PLUGINS=1 -DENABLE_ANN=1 -DENABLE_BLAS_LAPACK=1 -DENABLE_BUILD_SHARED=1 -DENABLE_PRIVATE_API=1 .. && make -j8 shared && make install/fast && cd .. && rm -rf gmsh
......
# build image
# build image (add "--build-arg REBUILD_GMSH=yes" to rebuild the Gmsh lib)
docker build -f Dockerfile.ubuntu18.10 -t onelab/ubuntu18.10 . docker build -f Dockerfile.ubuntu18.10 -t onelab/ubuntu18.10 .
docker build -f Dockerfile.debian.wheezy.64bit -t onelab/debian.wheezy.64bit . docker build -f Dockerfile.debian.wheezy.64bit -t onelab/debian.wheezy.64bit .
docker build -f Dockerfile.debian.wheezy.32bit -t onelab/debian.wheezy.32bit . docker build -f Dockerfile.debian.wheezy.32bit -t onelab/debian.wheezy.32bit .
# push image to docker-hub # push image to docker-hub
docker login docker login
docker push onelab/ubuntu18.10 docker push onelab/ubuntu18.10
docker push onelab/debian.wheezy.64bit docker push onelab/debian.wheezy.64bit
docker push onelab/debian.wheezy.32bit docker push onelab/debian.wheezy.32bit
# run something # run something
docker run onelab/ubuntu18.10 ls -al /' docker run onelab/ubuntu18.10 ls -al /'
docker run -it onelab/ubuntu18.10 bash docker run -it onelab/ubuntu18.10 bash
docker run -it onelab/debian.wheezy.64bit bash docker run -it onelab/debian.wheezy.64bit bash
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment