@@ -106,30 +106,6 @@ jobs:
106
106
ref : sycl
107
107
path : sycl-repo
108
108
109
- - name : Install pip packages
110
- working-directory : ${{github.workspace}}/ur-repo
111
- run : pip install -r third_party/requirements.txt
112
-
113
- - name : Configure CMake UR
114
- working-directory : ${{github.workspace}}/ur-repo
115
- run : >
116
- cmake
117
- -B build
118
- -GNinja
119
- -DCMAKE_C_COMPILER=${{matrix.compiler.c}}
120
- -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}}
121
- -DCMAKE_BUILD_TYPE=${{matrix.build_type}}
122
- -DUR_ENABLE_TRACING=ON
123
- -DUR_DEVELOPER_MODE=ON
124
- -DUR_BUILD_ADAPTER_${{matrix.adapter.name}}=ON
125
-
126
- - name : Build UR
127
- run : LD_LIBRARY_PATH=${{github.workspace}}/dpcpp_compiler/lib
128
- cmake --build ${{github.workspace}}/ur-repo/build -j $(nproc)
129
-
130
- - name : Set prefer UR
131
- run : echo "SYCL_PREFER_UR=1" >> $GITHUB_ENV
132
-
133
109
- name : Set CUDA env vars
134
110
if : matrix.adapter.name == 'CUDA'
135
111
run : |
@@ -146,27 +122,24 @@ jobs:
146
122
python3 sycl-repo/buildbot/configure.py
147
123
-t ${{matrix.build_type}}
148
124
-o ${{github.workspace}}/sycl_build
149
- --cmake-gen "Unix Makefiles "
125
+ --cmake-gen "Ninja "
150
126
--ci-defaults ${{matrix.adapter.config}}
151
127
--cmake-opt="-DLLVM_INSTALL_UTILS=ON"
152
128
--cmake-opt="-DSYCL_PI_TESTS=OFF"
129
+ --cmake-opt="-DSYCL_PI_UR_USE_FETCH_CONTENT=OFF"
130
+ --cmake-opt="-DSYCL_PI_UR_SOURCE_DIR=${{github.workspace}}/ur-repo/"
153
131
--cmake-opt=-DCMAKE_C_COMPILER_LAUNCHER=ccache
154
132
--cmake-opt=-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
155
133
156
134
- name : Build SYCL
157
- run : cmake --build ${{github.workspace}}/sycl_build
135
+ run : cmake --build ${{github.workspace}}/sycl_build -j
158
136
159
137
- name : Run check-sycl
160
138
# Remove after fixing SYCL test :: abi/layout_handler.cpp
161
139
# This issue does not affect further execution of e2e with UR.
162
140
continue-on-error : true
163
141
run : cmake --build ${{github.workspace}}/sycl_build --target check-sycl
164
142
165
- - name : Swap UR loader and adapters
166
- run : |
167
- cp ${{github.workspace}}/ur-repo/build/lib/libur_loader.so* ${{github.workspace}}/sycl_build/lib/
168
- cp ${{github.workspace}}/ur-repo/build/lib/libur_adapter_${{matrix.adapter.str_name}}.so* ${{github.workspace}}/sycl_build/lib/
169
-
170
143
- name : Set additional env. vars
171
144
run : |
172
145
echo "${{github.workspace}}/sycl_build/bin" >> $GITHUB_PATH
0 commit comments