Skip to content

Commit

Permalink
Add x86_64 arch as default (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbeckingsale committed Oct 22, 2021
1 parent 9342cfb commit db884b2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions ubuntu/16.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ RUN apt-get update && apt-get install -y software-properties-common && \

# Find packages already installed on system, e.g. autoconf
RUN spack external find && \
spack config add 'packages:all:target:[x86_64]' && \
# Install a new CMake (used to be 3.10.1)
spack install cmake@3.20.4

Expand Down
5 changes: 2 additions & 3 deletions ubuntu/18.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,8 @@ RUN python3 -m pip install botocore boto3 && \

# Find packages already installed on system, e.g. autoconf and install cmake
RUN spack external find && \
spack install cmake@3.20.4 && \
spack external find cmake && \
spack config add 'packages:cmake:buildable:False'
spack config add 'packages:all:target:[x86_64]' && \
spack install cmake@3.20.4

RUN spack view --dependencies no symlink --ignore-conflicts /opt/view cmake@3.20.4
ENV PATH=/opt/view/bin:$PATH
Expand Down
1 change: 1 addition & 0 deletions ubuntu/20.04/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ RUN python3 -m pip install botocore boto3 && \

# Find packages already installed on system, e.g. autoconf
RUN spack external find && \
spack config add 'packages:all:target:[x86_64]' && \
# Install a new CMake
spack install cmake@3.20.4

Expand Down

0 comments on commit db884b2

Please sign in to comment.