From e449068d1119d6a0741c0b1fe26ed27c896566f8 Mon Sep 17 00:00:00 2001 From: Alex Richert Date: Tue, 5 Mar 2024 13:45:41 -0800 Subject: [PATCH] ignore F90_AUTOFORMAT for spack recipe check --- .github/workflows/Spack.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Spack.yml b/.github/workflows/Spack.yml index 7b9577d8..e25bce45 100644 --- a/.github/workflows/Spack.yml +++ b/.github/workflows/Spack.yml @@ -69,7 +69,7 @@ jobs: - name: recipe-check run: | echo "If this jobs fails, look at the most recently output CMake option below and make sure that option appears in spack/package.py" - for opt in $(grep -ioP '^option\(\K(?!(ENABLE_DOCS|TEST_TIME_LIMIT))[^ ]+' $GITHUB_WORKSPACE/ip/CMakeLists.txt) ; do + for opt in $(grep -ioP '^option\(\K(?!(ENABLE_DOCS|TEST_TIME_LIMIT|F90_AUTOFORMAT))[^ ]+' $GITHUB_WORKSPACE/ip/CMakeLists.txt) ; do echo "Checking for presence of '$opt' CMake option in package.py" grep -cP "define.+\b${opt}\b" $GITHUB_WORKSPACE/ip/spack/package.py done