@@ -106,30 +106,6 @@ jobs:
106106 ref : sycl
107107 path : sycl-repo
108108
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-
133109 - name : Set CUDA env vars
134110 if : matrix.adapter.name == 'CUDA'
135111 run : |
@@ -146,27 +122,24 @@ jobs:
146122 python3 sycl-repo/buildbot/configure.py
147123 -t ${{matrix.build_type}}
148124 -o ${{github.workspace}}/sycl_build
149- --cmake-gen "Unix Makefiles "
125+ --cmake-gen "Ninja "
150126 --ci-defaults ${{matrix.adapter.config}}
151127 --cmake-opt="-DLLVM_INSTALL_UTILS=ON"
152128 --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/"
153131 --cmake-opt=-DCMAKE_C_COMPILER_LAUNCHER=ccache
154132 --cmake-opt=-DCMAKE_CXX_COMPILER_LAUNCHER=ccache
155133
156134 - name : Build SYCL
157- run : cmake --build ${{github.workspace}}/sycl_build
135+ run : cmake --build ${{github.workspace}}/sycl_build -j
158136
159137 - name : Run check-sycl
160138 # Remove after fixing SYCL test :: abi/layout_handler.cpp
161139 # This issue does not affect further execution of e2e with UR.
162140 continue-on-error : true
163141 run : cmake --build ${{github.workspace}}/sycl_build --target check-sycl
164142
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-
170143 - name : Set additional env. vars
171144 run : |
172145 echo "${{github.workspace}}/sycl_build/bin" >> $GITHUB_PATH
0 commit comments