Skip to content

Commit ad70661

Browse files
committed
Enable CMAKE_POSITION_INDEPENDENT_CODE in sycl-rel-nightly
1 parent a1a09b4 commit ad70661

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/sycl-rel-nightly.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
with:
1313
build_cache_root: "/__w/"
1414
build_artifact_suffix: default
15-
build_configure_extra_args: '-DCMAKE_INSTALL_LIBDIR=lib --disable-jit --no-assertions --add_security_flags=sanitize --hip --cuda'
15+
build_configure_extra_args: '-DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_LIBDIR=lib --disable-jit --no-assertions --add_security_flags=sanitize --hip --cuda'
1616
build_image: ghcr.io/intel/llvm/release_build:latest
1717
pack_release: 'true'
1818

@@ -80,7 +80,7 @@ jobs:
8080
build-win:
8181
uses: ./.github/workflows/sycl-windows-build.yml
8282
with:
83-
build_configure_extra_args: '--disable-jit --no-assertions --add_security_flags=sanitize'
83+
build_configure_extra_args: '-DCMAKE_POSITION_INDEPENDENT_CODE=ON --disable-jit --no-assertions --add_security_flags=sanitize'
8484
pack_release: 'true'
8585

8686
# We upload both Linux/Windows build via Github's "Releases"

0 commit comments

Comments
 (0)