From 57c4fb0795a38ec500069eeb702f25c2c301536e Mon Sep 17 00:00:00 2001 From: Tim Gymnich Date: Tue, 5 Mar 2024 03:15:37 +0100 Subject: [PATCH] Update enzyme-ci.yml --- .github/workflows/enzyme-ci.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/enzyme-ci.yml b/.github/workflows/enzyme-ci.yml index 6ab46a8b08d8..e112f678707c 100644 --- a/.github/workflows/enzyme-ci.yml +++ b/.github/workflows/enzyme-ci.yml @@ -63,7 +63,7 @@ jobs: matrix: llvm: ["12", "13", "14", "15", "16"] build: ["Release", "Debug"] # "RelWithDebInfo" - os: [macos-12, macos-14] + os: [macos-13, macos-14] timeout-minutes: 30 steps: @@ -80,16 +80,16 @@ jobs: run: cmake ../enzyme -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DLLVM_EXTERNAL_LIT=`which lit` -DLLVM_DIR=`brew --prefix llvm@${{ matrix.llvm }}`/lib/cmake/llvm - name: make working-directory: build - run: make -j 3 + run: make -j `sysctl -n hw.ncpu` - name: make check-typeanalysis working-directory: build - run: make -j 3 check-typeanalysis + run: make -j `sysctl -n hw.ncpu` check-typeanalysis - name: make check-activityanalysis working-directory: build - run: make -j 3 check-activityanalysis + run: make -j `sysctl -n hw.ncpu` check-activityanalysis - name: make check-enzyme working-directory: build - run: make -j3 check-enzyme-bench + run: make -j `sysctl -n hw.ncpu` check-enzyme-bench - name: graph results if: github.event_name != 'pull_request' && matrix.build == 'Release' run: python3 enzyme/test/upload-results.py build/test/Enzyme/results.json --url https://enzyme.mit.edu/cibench/api --token ${{ secrets.GRAPH_TOKEN }} @@ -103,7 +103,7 @@ jobs: matrix: llvm: ["13"] #, "14"] build: ["Release"] # "RelWithDebInfo" - os: [macos-12, macos-14] + os: [macos-13, macos-14] timeout-minutes: 30 steps: @@ -118,4 +118,4 @@ jobs: working-directory: build run: | cmake ../enzyme -GXcode -DCMAKE_BUILD_TYPE=${{ matrix.build }} -DLLVM_EXTERNAL_LIT=`which lit` -DLLVM_DIR=`brew --prefix llvm@${{ matrix.llvm }}`/lib/cmake/llvm - cmake --build . --parallel 3 + cmake --build . --parallel `sysctl -n hw.ncpu`