Skip to content

Commit 5971c89

Browse files
Debug
1 parent 53f3b22 commit 5971c89

File tree

3 files changed

+2
-107
lines changed

3 files changed

+2
-107
lines changed

.github/workflows/sycl-macos-build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,4 +54,4 @@ jobs:
5454
-DCMAKE_CXX_COMPILER_LAUNCHER=ccache \
5555
-DLLVM_INSTALL_UTILS=ON
5656
- name: Compile
57-
run: cmake --build $GITHUB_WORKSPACE/build --target deploy-sycl-toolchain
57+
run: ninja -C build deploy-sycl-toolchain -v

.github/workflows/sycl-post-commit.yml

Lines changed: 0 additions & 105 deletions
Original file line numberDiff line numberDiff line change
@@ -29,111 +29,6 @@ concurrency:
2929
permissions: read-all
3030

3131
jobs:
32-
detect_changes:
33-
if: ${{ github.event_name == 'pull_request' }}
34-
uses: ./.github/workflows/sycl-detect-changes.yml
35-
36-
build-lin:
37-
name: Linux (GCC + no-assertions)
38-
if: github.repository == 'intel/llvm'
39-
uses: ./.github/workflows/sycl-linux-build.yml
40-
with:
41-
build_cache_root: "/__w/llvm"
42-
build_cache_suffix: default
43-
build_configure_extra_args: --no-assertions --hip --cuda --native_cpu -DSYCL_ENABLE_STACK_PRINTING=ON -DSYCL_LIB_WITH_DEBUG_SYMBOL=ON
44-
45-
toolchain_artifact: sycl_linux_default
46-
e2e_binaries_spirv_backend_artifact: e2e_bin_spirv_backend
47-
48-
e2e-lin:
49-
needs: [detect_changes, build-lin]
50-
if: ${{ always() && !cancelled() && needs.build-lin.outputs.build_conclusion == 'success' }}
51-
strategy:
52-
fail-fast: false
53-
matrix:
54-
include:
55-
- name: Intel GEN12 Graphics with Level Zero
56-
runner: '["Linux", "gen12"]'
57-
target_devices: level_zero:gpu
58-
- name: Intel Arc A-Series Graphics with Level Zero
59-
runner: '["Linux", "arc"]'
60-
# Performance tests below. Specifics:
61-
# - only run performance tests (use LIT_FILTER env)
62-
# - ask llvm-lit to show all the output, even for PASS (-a)
63-
# - run in single thread (-j 1)
64-
# - enable the tests in LIT (--param enable-perf-tests=True)
65-
# - run on all available devices.
66-
- name: Perf tests on Intel GEN12 Graphics system
67-
runner: '["Linux", "gen12"]'
68-
env: '{"LIT_FILTER":"PerformanceTests/"}'
69-
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
70-
target_devices: all
71-
- name: Perf tests on Intel Arc A-Series Graphics system
72-
runner: '["Linux", "arc"]'
73-
env: '{"LIT_FILTER":"PerformanceTests/"}'
74-
extra_lit_opts: -a -j 1 --param enable-perf-tests=True
75-
target_devices: all
76-
- name: SPIR-V Backend / Intel Battlemage Graphics
77-
runner: '["Linux", "bmg"]'
78-
image_options: -u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN
79-
target_devices: level_zero:gpu;opencl:gpu;opencl:cpu
80-
extra_lit_opts: --param spirv-backend=True
81-
e2e_binaries_artifact: e2e_bin_spirv_backend
82-
e2e_testing_mode: 'run-only'
83-
uses: ./.github/workflows/sycl-linux-run-tests.yml
84-
with:
85-
name: ${{ matrix.name }}
86-
runner: ${{ matrix. runner }}
87-
image_options: ${{ matrix.image_options || '-u 1001 --device=/dev/dri -v /dev/dri/by-path:/dev/dri/by-path --privileged --cap-add SYS_ADMIN' }}
88-
target_devices: ${{ matrix.target_devices || 'level_zero:gpu' }}
89-
90-
extra_lit_opts: ${{ matrix.extra_lit_opts }}
91-
env: ${{ matrix.env || '{}' }}
92-
93-
repo_ref: ${{ github.sha }}
94-
95-
toolchain_artifact: ${{ needs.build-lin.outputs.toolchain_artifact }}
96-
toolchain_artifact_filename: ${{ needs.build-lin.outputs.toolchain_artifact_filename }}
97-
toolchain_decompress_command: ${{ needs.build-lin.outputs.toolchain_decompress_command }}
98-
99-
e2e_binaries_artifact: ${{ matrix.e2e_binaries_artifact }}
100-
e2e_testing_mode: ${{ matrix.e2e_testing_mode || 'full' }}
101-
102-
# Do not install drivers on AMD and CUDA runners.
103-
install_igc_driver: >-
104-
${{ github.event_name == 'pull_request' }} &&
105-
${{ !contains(matrix.target_devices, 'cuda') &&
106-
!contains(matrix.target_devices, 'hip') &&
107-
contains(needs.detect_changes.outputs.filters, 'drivers') }}
108-
109-
build-win:
110-
if: |
111-
always()
112-
&& success()
113-
&& github.repository == 'intel/llvm'
114-
uses: ./.github/workflows/sycl-windows-build.yml
115-
with:
116-
cxx: icx
117-
build_configure_extra_args: -DCMAKE_C_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_CXX_FLAGS="/fp:precise /clang:-Wno-nonportable-include-path /clang:-Wno-cast-function-type-mismatch" -DCMAKE_EXE_LINKER_FLAGS=/manifest:no -DCMAKE_MODULE_LINKER_FLAGS=/manifest:no -DCMAKE_SHARED_LINKER_FLAGS=/manifest:no
118-
build_cache_suffix: icx
119-
120-
e2e-win:
121-
needs: build-win
122-
# Continue if build was successful.
123-
if: |
124-
always()
125-
&& !cancelled()
126-
&& needs.build-win.outputs.build_conclusion == 'success'
127-
uses: ./.github/workflows/sycl-windows-run-tests.yml
128-
with:
129-
name: Intel GEN12 Graphics with Level Zero
130-
runner: '["Windows","gen12"]'
131-
target_devices: "level_zero:gpu"
132-
toolchain_artifact_filename: ${{ needs.build-win.outputs.toolchain_artifact_filename }}
133-
cxx: icx
134-
# https://github.com/intel/llvm/issues/18458
135-
env: "{'LIT_FILTER_OUT':'std_array.cpp|compile_on_win_with_mdd.cpp'}"
136-
13732
macos_default:
13833
name: macOS
13934
if: github.repository == 'intel/llvm'

sycl-jit/jit-compiler/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ endif()
4343
add_custom_command(
4444
OUTPUT ${SYCL_JIT_RESOURCE_OBJ}
4545
COMMAND
46-
${clang_exe} ${SYCL_JIT_RESOURCE_CPP} -I ${CMAKE_CURRENT_SOURCE_DIR}/include -c -o ${SYCL_JIT_RESOURCE_OBJ} ${SYCL_JIT_RESOURCE_CXX_FLAGS}
46+
${clang_exe} ${SYCL_JIT_RESOURCE_CPP} -I ${CMAKE_CURRENT_SOURCE_DIR}/include -c -o ${SYCL_JIT_RESOURCE_OBJ} ${SYCL_JIT_RESOURCE_CXX_FLAGS} -stdlib=libc++
4747
DEPENDS
4848
${SYCL_JIT_RESOURCE_CPP}
4949
${CMAKE_CURRENT_SOURCE_DIR}/include/Resource.h

0 commit comments

Comments
 (0)