Skip to content

Commit

Permalink
ENH: Build FAST.Farm in docker image by default
Browse files Browse the repository at this point in the history
  • Loading branch information
cortadocodes committed Apr 2, 2024
1 parent 5e80427 commit 0aca3d0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion share/docker/openfast_ubuntu/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,11 @@ WORKDIR /openfast/build
# will require about 6GB of memory. Otherwise, the gfortran compiler will exit with an
# "internal error"
ENV FC=/usr/bin/gfortran
ARG CMAKE_OPTIONS="-DBUILD_TESTING=OFF -DDOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=RELEASE"
ARG CMAKE_OPTIONS="-DBUILD_TESTING=OFF -DBUILD_FASTFARM=ON -DDOUBLE_PRECISION=ON -DCMAKE_BUILD_TYPE=RELEASE"
RUN cmake .. ${CMAKE_OPTIONS}

ARG BUILD_CORES=4
RUN make -j${BUILD_CORES} FAST.Farm
RUN make -j${BUILD_CORES} install

# Build stage 2: provides built openfast in a small image.
Expand Down

0 comments on commit 0aca3d0

Please sign in to comment.