From c9c998ffe86afc4a0221c0b1e0bfd4d2af069e23 Mon Sep 17 00:00:00 2001 From: Zach Kimberg Date: Thu, 22 Feb 2024 11:23:46 -0800 Subject: [PATCH 1/2] Update continuous OSX to 13 This is to fix the flaky llama engine segfaults on CI. --- .github/workflows/continuous.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 38cd7237d65..4dc236ec516 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -26,7 +26,7 @@ jobs: runs-on: ${{ matrix.operating-system }} strategy: matrix: - operating-system: [ ubuntu-latest, macos-12 ] + operating-system: [ ubuntu-latest, macos-13 ] steps: - uses: actions/checkout@v4 From 7d85860740f52004e06e70d8f40875b0fc49811a Mon Sep 17 00:00:00 2001 From: Zach Kimberg Date: Thu, 22 Feb 2024 14:20:21 -0800 Subject: [PATCH 2/2] Add libomp --- .github/workflows/continuous.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/continuous.yml b/.github/workflows/continuous.yml index 4dc236ec516..53a532dfa28 100644 --- a/.github/workflows/continuous.yml +++ b/.github/workflows/continuous.yml @@ -50,6 +50,9 @@ jobs: filters: | src: - 'extensions/sentencepiece/**' + - name: install libomp on macos + if: ${{ runner.os == 'macOS' }} + run: brew install libomp - name: Compile Sentencepiece JNI if: steps.sentencepiece_changes.outputs.src == 'true' run: ./gradlew :extensions:sentencepiece:compileJNI