forked from nest/nest-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master'
- Loading branch information
Showing
3 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ LABEL maintainer="[email protected]" | |
|
||
ARG NEST_VERSION=3.6 | ||
ARG SRC_PATH=/tmp | ||
ARG CMAKE_C_COMPILER_LAUNCHER=ccache | ||
ARG CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
ARG CXXFLAGS="-O2 -lrt" | ||
|
||
|
||
# Install NEST and NESTML | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,9 @@ LABEL maintainer="[email protected]" | |
|
||
ARG NEST_VERSION=master | ||
ARG SRC_PATH=/tmp | ||
ARG CMAKE_C_COMPILER_LAUNCHER=ccache | ||
ARG CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
ARG CXXFLAGS="-O2 -lrt" | ||
|
||
|
||
RUN apt-get update && apt-get install -y --no-install-recommends pandoc \ | ||
|
@@ -21,11 +24,6 @@ RUN wget https://github.com/nest/nest-simulator/archive/refs/heads/${NEST_VERSIO | |
RUN apt-get update && apt-get install -y --no-install-recommends libhdf5-dev | ||
RUN python3 -m pip install --force-reinstall --upgrade --no-binary=h5py h5py | ||
|
||
RUN export CMAKE_C_COMPILER_LAUNCHER=ccache | ||
RUN export CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
|
||
RUN export CXX_FLAGS="-pedantic -Wextra -Wno-unknown-pragmas -D_GLIBCXX_ASSERTIONS" | ||
|
||
RUN mkdir nest-build && cd nest-build | ||
RUN cmake -DCMAKE_INSTALL_PREFIX:PATH=/opt/nest \ | ||
-Dwith-optimize=ON \ | ||
|