Skip to content

Commit

Permalink
Fix build param usage
Browse files Browse the repository at this point in the history
  • Loading branch information
alan-forbes-cp committed Dec 4, 2024
1 parent 5fb51fb commit 7190d10
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/actions/do_build_dpcpp/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ runs:
sudo apt-get install spirv-tools

- name: clone dpc++
if: build == 'true'
if: input.build == 'true'
uses: actions/checkout@v4
with:
repository: intel/llvm
path: llvm

- name: dpcpp configure
if: build == 'true'
if: input.build == 'true'
shell: bash
run:
cd llvm; python buildbot/configure.py
Expand All @@ -47,19 +47,19 @@ runs:
--cmake-opt=-DLLVM_ENABLE_ZSTD=OFF

- name: build sycl-headers
if: build == 'true'
if: input.build == 'true'
shell: bash
run:
cmake --build llvm/build -- sycl-headers

- name: build dpc plus plus
if: build == 'true'
if: input.build == 'true'
shell: bash
run:
python llvm/buildbot/compile.py -o llvm/build -v -j 8

- name: build extra utilties
if: build == 'true'
if: input.build == 'true'
# Build various utilities, since those aren't proper dependencies.
# FileCheck and not are needed for tests. The rest are needed for
# cross builds. They are enabled on all targets for consistency.
Expand All @@ -76,7 +76,7 @@ runs:
llvm-tblgen not opt prepare_builtins ../install/bin

- name: install config files to pick up libraries for cross compilation.
if: build == 'true'
if: input.build == 'true'
shell: bash
run: |
echo Installing configuration files
Expand All @@ -91,7 +91,7 @@ runs:
done
- name: download dpc plus plus
if: build == 'false'
if: input.build == 'false'
shell: bash
run: |
mkdir -p llvm/build/install
Expand Down

0 comments on commit 7190d10

Please sign in to comment.