Skip to content

Commit eebe250

Browse files
authored
clean up workflow
1 parent 2f89aa7 commit eebe250

File tree

1 file changed

+8
-47
lines changed

1 file changed

+8
-47
lines changed

.github/workflows/bench-frontier.yml

Lines changed: 8 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ jobs:
2929
device: gpu
3030
interface: acc
3131
build_script: "bash .github/workflows/frontier/build.sh gpu acc bench"
32-
# - cluster: frontier
33-
# name: Oak Ridge | Frontier (CCE)
34-
# group: phoenix
35-
# labels: frontier
36-
# flag: f
37-
# device: gpu
38-
# interface: omp
39-
# build_script: "bash .github/workflows/frontier/build.sh gpu omp bench"
32+
- cluster: frontier
33+
name: Oak Ridge | Frontier (CCE)
34+
group: phoenix
35+
labels: frontier
36+
flag: f
37+
device: gpu
38+
interface: omp
39+
build_script: "bash .github/workflows/frontier/build.sh gpu omp bench"
4040
runs-on:
4141
group: ${{ matrix.group }}
4242
labels: ${{ matrix.labels }}
@@ -62,45 +62,6 @@ jobs:
6262
uses: actions/checkout@v3
6363
with:
6464
path: pr
65-
66-
- name: Replace old SILO block in CMakeLists.txt
67-
run: |
68-
if [ -f master/toolchain/pyproject.toml ]; then
69-
sed -i 's/"cantera",/"cantera==3.0.1",/g' master/toolchain/pyproject.toml
70-
fi
71-
72-
sed -i '/# SILO/,/^endif()/{
73-
r /dev/stdin
74-
d
75-
}' master/toolchain/dependencies/CMakeLists.txt <<'EOF'
76-
# SILO
77-
if (MFC_SILO)
78-
find_package(SILO)
79-
if (SILO_FOUND)
80-
message(STATUS "SILO found.")
81-
add_custom_target(silo)
82-
else()
83-
find_package(Git REQUIRED)
84-
85-
ExternalProject_Add(silo
86-
GIT_REPOSITORY "https://github.com/LLNL/Silo"
87-
GIT_TAG 9af504ef4fb79153e1fbf3bdb75421b6b65f6dc4
88-
GIT_PROGRESS ON
89-
PATCH_COMMAND "${GIT_EXECUTABLE}" stash
90-
&& "${GIT_EXECUTABLE}" apply "${CMAKE_SOURCE_DIR}/Silo.patch"
91-
CMAKE_ARGS -DSILO_ENABLE_SHARED=OFF
92-
-DSILO_ENABLE_SILOCK=OFF
93-
-DSILO_ENABLE_BROWSER=OFF
94-
-DFIND_LIBRARY_USE_LIB64_PATHS=ON
95-
"-DCMAKE_PREFIX_PATH=${CMAKE_PREFIX_PATH}"
96-
"-DCMAKE_FIND_ROOT_PATH=${CMAKE_FIND_ROOT_PATH}"
97-
"-DCMAKE_FIND_PACKAGE_REDIRECTS_DIR=${CMAKE_FIND_PACKAGE_REDIRECTS_DIR}"
98-
"-DCMAKE_INSTALL_PREFIX=${CMAKE_INSTALL_PREFIX}"
99-
"$<$<STREQUAL:${CMAKE_Fortran_COMPILER_ID},Cray>:-DCMAKE_MODULE_PATH=${CMAKE_SOURCE_DIR}/../cmake/cce>"
100-
)
101-
endif()
102-
endif()
103-
EOF
10465

10566
- name: Setup & Build
10667
run: |

0 commit comments

Comments
 (0)