Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 29 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,34 @@ jobs:

- name: Brew install MFEM dependencies
# if: steps.cache-brew.outputs.cache-hit != 'true'
run: brew install open-mpi metis hypre
run: brew install open-mpi metis

- name: Download Hypre
uses: actions/checkout@v2
with:
repository: 'hypre-space/hypre'
ref: 'master'
path: .deps/hypre

- name: Create Hypre Build Environment
run: cmake -E make_directory ${{runner.workspace}}/.deps/hypre/build

- name: Configure Hypre
shell: bash
working-directory: ${{runner.workspace}}/.deps/hypre/build
run: |
cmake ${GITHUB_WORKSPACE}/.deps/hypre/src \
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DCMAKE_POSITION_INDEPENDENT_CODE=YES \
-DCMAKE_INSTALL_PREFIX="${{runner.workspace}}/.deps/hypre"

- name: Build Hypre
working-directory: ${{runner.workspace}}/.deps/hypre/build
run: cmake --build . --parallel 2 --config $BUILD_TYPE

- name: Install Hypre
working-directory: ${{runner.workspace}}/.deps/hypre/build
run: cmake --build . --config $BUILD_TYPE --target install

- name: Download MFEM
uses: actions/checkout@v2
Expand All @@ -129,7 +156,7 @@ jobs:
-DCMAKE_BUILD_TYPE=$BUILD_TYPE \
-DMFEM_USE_MPI=YES \
-DMFEM_USE_METIS_5=YES \
-DHYPRE_DIR="$(brew --prefix hypre)" \
-DHYPRE_DIR="${{runner.workspace}}/.deps/hypre" \
-DMETIS_DIR="$(brew --prefix metis)" \
-DMFEM_ENABLE_EXAMPLES=NO \
-DMFEM_ENABLE_MINIAPPS=NO
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
![.github/workflows/build.yml](https://github.com/OptimalDesignLab/mach/workflows/.github/workflows/build.yml/badge.svg?branch=dev)

![master](https://github.com/OptimalDesignLab/mach/actions/workflows/build.yml/badge.svg?branch=master)
# ODL Mach #

Mach is a C++ library for multi-physics finite-element simulations based on LLNL's [MFEM](https://github.com/mfem/mfem).
Expand Down
Binary file added test/regression/egads/data/cyl.egadslite
Binary file not shown.
Binary file added test/regression/egads/data/cyl.egadslite.sup
Binary file not shown.
Binary file added test/regression/egads/data/cyl2.egadslite
Binary file not shown.