Skip to content

Commit 0f1264a

Browse files
committed
build llvm-mos-sdk
1 parent 416d450 commit 0f1264a

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

.github/actions/cache_llvm-mos-sdk/action.yaml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ runs:
2626
ref: ${{ inputs.llvm-mos-sdk-ref }}
2727
path: './llvm-mos-sdk'
2828
# Build llvm-mos-sdk
29-
#- if: steps.cache_llvm-mos-sdk.outputs.cache-hit != 'true'
30-
# run: |
31-
# cd llvm-mos-sdk
32-
# PREFIX=${{ inputs.llvm-mos-sdkPath }} make
33-
# PREFIX=${{ inputs.llvm-mos-sdkPath }} make install
34-
# shell: bash
29+
- if: steps.cache_llvm-mos-sdk.outputs.cache-hit != 'true'
30+
run: |
31+
cd llvm-mos-sdk
32+
PREFIX=${{ inputs.llvm-mos-sdkPath }} mkdir build && cd build
33+
PREFIX=${{ inputs.llvm-mos-sdkPath }} cmake -G "Ninja" -DCMAKE_INSTALL_PREFIX=${{ inputs.llvm-mos-sdkPath }} ..
34+
PREFIX=${{ inputs.llvm-mos-sdkPath }} ninja install
35+
shell: bash

0 commit comments

Comments
 (0)