Skip to content

Commit

Permalink
Merge pull request #600 from bennibbelink/default-build-type
Browse files Browse the repository at this point in the history
Default to Release build
  • Loading branch information
gonuke authored Apr 30, 2024
2 parents 89d4652 + e18ec42 commit e14e372
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ cycamore Change Log
* Update build procedure to link against Cyclus' cython generated libraries if needed (#596)
* Minor modifications for compatibility with the latest GTest library (#598)
* Remove FindCyclus.cmake from this repo since it is installed with Cyclus (#597)
* Default to a Release build when installing via python script (#600)

v1.5.5
====================
Expand Down
2 changes: 1 addition & 1 deletion docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ARG make_cores=2
COPY . /cycamore
WORKDIR /cycamore

RUN python install.py -j ${make_cores} --build-type=Release --allow-milps
RUN python install.py -j ${make_cores} --allow-milps

FROM cycamore as deb-generation
WORKDIR /cycamore/build
Expand Down
3 changes: 2 additions & 1 deletion install.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@ def main():
parser.add_argument('--cmake_prefix_path', help=cmake_prefix_path)

build_type = "the CMAKE_BUILD_TYPE"
parser.add_argument('--build-type', '--build_type', help=build_type)
parser.add_argument('--build-type', '--build_type', help=build_type,
default='Release')

parser.add_argument('-D', metavar='VAR', action='append',
help='Set enviornment variable(s).')
Expand Down

0 comments on commit e14e372

Please sign in to comment.