-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6185a04
commit f0b809d
Showing
19 changed files
with
128 additions
and
96 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
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 |
---|---|---|
@@ -1,55 +1,88 @@ | ||
FROM axom/compilers:gcc-5 AS gcc5 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:gcc-6 AS gcc6 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:gcc-7 AS gcc7 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:gcc-8 AS gcc8 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:clang-4 AS clang4 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:clang-5 AS clang5 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
FROM axom/compilers:clang-6 AS clang6 | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=clang++ -DENABLE_CUDA=OFF .. | ||
RUN cd build && make -j 16 | ||
RUN cd build && ctest -T test --output-on-failure | ||
|
||
|
||
FROM axom/compilers:nvcc-10 AS nvcc | ||
COPY --chown=axom:axom . /home/axom/workspace | ||
WORKDIR /home/axom/workspace | ||
RUN mkdir build && cd build && cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On .. | ||
RUN cd build && make -j 16 | ||
FROM ghcr.io/rse-ops/gcc-ubuntu-20.04:gcc-7.3.0 AS gcc7 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DENABLE_COVERAGE=On -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/gcc-ubuntu-20.04:gcc-8.1.0 AS gcc8 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/gcc-ubuntu-18.04:gcc-9.4.0 AS gcc9 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/gcc-ubuntu-18.04:gcc-11.2.0 AS gcc11 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_CXX_COMPILER=g++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/clang-ubuntu-20.04:llvm-10.0.0 AS clang10 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_CXX_COMPILER=clang++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/clang-ubuntu-22.04:llvm-11.0.0 AS clang11 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_CXX_COMPILER=clang++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/clang-ubuntu-22.04:llvm-12.0.0 AS clang12 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_CXX_COMPILER=clang++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/clang-ubuntu-22.04:llvm-13.0.0 AS clang13 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN cmake -DCMAKE_CXX_COMPILER=clang++ .. && \ | ||
make -j 16 && \ | ||
ctest -T test --output-on-failure | ||
|
||
FROM ghcr.io/rse-ops/cuda:cuda-10.1.243-ubuntu-18.04 AS nvcc10 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN . /opt/spack/share/spack/setup-env.sh && spack load cuda && \ | ||
cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On .. && \ | ||
make -j 16 | ||
|
||
FROM ghcr.io/rse-ops/cuda-ubuntu-20.04:cuda-11.1.1 AS nvcc11 | ||
ENV GTEST_COLOR=1 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN . /opt/spack/share/spack/setup-env.sh && spack load cuda && \ | ||
cmake -DCMAKE_CXX_COMPILER=g++ -DENABLE_CUDA=On .. && \ | ||
make -j 16 | ||
|
||
FROM ghcr.io/rse-ops/hip-ubuntu-22.04:hip-4.3.1 AS hip | ||
ENV GTEST_COLOR=1 | ||
ENV HCC_AMDGPU_TARGET=gfx900 | ||
COPY . /home/chai/workspace | ||
WORKDIR /home/chai/workspace/build | ||
RUN . /opt/spack/share/spack/setup-env.sh && spack load hip llvm-amdgpu && \ | ||
cmake -DBLT_EXPORT_THIRDPARTY=On -DENABLE_WARNINGS_AS_ERRORS=Off -DCHAI_ENABLE_MANAGED_PTR=Off -DCMAKE_CXX_COMPILER=amdclang++ -DCMAKE_C_COMPILER=amdclang -DENABLE_HIP=On .. && \ | ||
make -j 16 VERBOSE=1 |
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
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
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
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
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
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
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