@@ -2,6 +2,9 @@ name: SYCL Release Branch Nightly
22
33on :
44 workflow_dispatch :
5+ inputs :
6+ release_version :
7+ type : string
58
69permissions : read-all
710
1215 with :
1316 build_cache_root : " /__w/"
1417 build_artifact_suffix : default
15- build_configure_extra_args : ' -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_LIBDIR=lib --disable-jit --no-assertions --add_security_flags=sanitize --hip --cuda'
18+ build_configure_extra_args : |
19+ -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_LIBDIR=lib \
20+ --disable-jit --no-assertions --add_security_flags=sanitize --hip --cuda \
21+ -DLLVM_VC_REPOSITORY="${{ github.repositoryUrl }}" \
22+ -DCLANG_VC_REPOSITORY="${{ github.repositoryUrl }}" \
23+ -DLLVM_VC_REVISION="${{ inputs.release_version || format('{0}:{1} Nightly build', github.ref_name, github.sha) }}" \
24+ -DCLANG_VC_REVISION="${{ inputs.release_version || format('{0}:{1} Nightly build', github.ref_name, github.sha) }}"
1625 build_image : ghcr.io/intel/llvm/release_build:latest
1726 pack_release : ' true'
1827
8089 build-win :
8190 uses : ./.github/workflows/sycl-windows-build.yml
8291 with :
83- build_configure_extra_args : ' -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=off -DCMAKE_POSITION_INDEPENDENT_CODE=ON --disable-jit --no-assertions --add_security_flags=sanitize'
92+ build_configure_extra_args : |
93+ -DLLVM_SPIRV_ENABLE_LIBSPIRV_DIS=off -DCMAKE_POSITION_INDEPENDENT_CODE=ON ^
94+ --disable-jit --no-assertions --add_security_flags=sanitize ^
95+ -DLLVM_VC_REPOSITORY="${{ github.repositoryUrl }}" ^
96+ -DCLANG_VC_REPOSITORY="${{ github.repositoryUrl }}" ^
97+ -DLLVM_VC_REVISION="${{ inputs.release_version || format('{0}:{1} Nightly build', github.ref_name, github.sha) }}" ^
98+ -DCLANG_VC_REVISION="${{ inputs.release_version || format('{0}:{1} Nightly build', github.ref_name, github.sha) }}"
8499 pack_release : ' true'
85100
86101 # We upload both Linux/Windows build via Github's "Releases"
0 commit comments