@@ -89,92 +89,93 @@ jobs:
8989 - name : Run tests under valgrind
9090 run : ${{github.workspace}}/test/test_valgrind.sh ${{github.workspace}} ${{github.workspace}}/build ${{matrix.tool}}
9191
92- icx :
93- name : ICX
94- env :
95- VCPKG_PATH : " ${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows"
96- BUILD_DIR : " ${{github.workspace}}/build"
97- strategy :
98- matrix :
99- os : ['windows-2019', 'windows-2022']
100- build_type : [Debug]
101- compiler : [{c: icx, cxx: icx}]
102- shared_library : ['ON', 'OFF']
103- include :
104- - os : windows-2022
105- build_type : Release
106- compiler : {c: icx, cxx: icx}
107- shared_library : ' ON'
108-
109- runs-on : ${{matrix.os}}
110-
111- steps :
112- - name : Checkout
113- uses : actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
114- with :
115- fetch-depth : 0
116-
117- - name : Initialize vcpkg
118- uses : lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
119- with :
120- vcpkgGitCommitId : 3dd44b931481d7a8e9ba412621fa810232b66289
121- vcpkgDirectory : ${{env.BUILD_DIR}}/vcpkg
122- vcpkgJsonGlob : ' **/vcpkg.json'
123-
124- - name : Install dependencies
125- run : vcpkg install
126-
127- - name : Install Ninja
128- uses : seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # v5
129-
130- - name : Download icx compiler
131- env :
132- # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html
133- CMPLR_LINK : " https://registrationcenter-download.intel.com/akdlm/IRC_NAS/15a35578-2f9a-4f39-804b-3906e0a5f8fc/w_dpcpp-cpp-compiler_p_2024.2.1.83_offline.exe"
134- run : |
135- Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe
136-
137- - name : Install icx compiler
138- shell : cmd
139- run : |
140- start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log
141- extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^
142- -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
143-
144- - name : Configure build
145- shell : cmd
146- run : |
147- call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
148- call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
149- cmake ^
150- -B ${{env.BUILD_DIR}} ^
151- -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^
152- -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^
153- -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^
154- -G Ninja ^
155- -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^
156- -DUMF_FORMAT_CODE_STYLE=OFF ^
157- -DUMF_DEVELOPER_MODE=ON ^
158- -DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON ^
159- -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^
160- -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^
161- -DUMF_BUILD_CUDA_PROVIDER=ON ^
162- -DUMF_TESTS_FAIL_ON_SKIP=ON
163-
164- - name : Build UMF
165- shell : cmd
166- run : |
167- call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
168- call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
169- cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
170-
171- - name : Run tests
172- shell : cmd
173- working-directory : ${{env.BUILD_DIR}}
174- run : |
175- call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
176- call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
177- ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
92+ # TODO fix #843
93+ # icx:
94+ # name: ICX
95+ # env:
96+ # VCPKG_PATH: "${{github.workspace}}/build/vcpkg/packages/hwloc_x64-windows;${{github.workspace}}/build/vcpkg/packages/tbb_x64-windows;${{github.workspace}}/build/vcpkg/packages/jemalloc_x64-windows"
97+ # BUILD_DIR : "${{github.workspace}}/build"
98+ # strategy:
99+ # matrix:
100+ # os: ['windows-2019', 'windows-2022']
101+ # build_type: [Debug]
102+ # compiler: [{c: icx, cxx: icx}]
103+ # shared_library: ['ON', 'OFF']
104+ # include:
105+ # - os: windows-2022
106+ # build_type: Release
107+ # compiler: {c: icx, cxx: icx}
108+ # shared_library: 'ON'
109+ #
110+ # runs-on: ${{matrix.os}}
111+ #
112+ # steps:
113+ # - name: Checkout
114+ # uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
115+ # with:
116+ # fetch-depth: 0
117+ #
118+ # - name: Initialize vcpkg
119+ # uses: lukka/run-vcpkg@5e0cab206a5ea620130caf672fce3e4a6b5666a1 # v11.5
120+ # with:
121+ # vcpkgGitCommitId: 3dd44b931481d7a8e9ba412621fa810232b66289
122+ # vcpkgDirectory: ${{env.BUILD_DIR}}/vcpkg
123+ # vcpkgJsonGlob: '**/vcpkg.json'
124+ #
125+ # - name: Install dependencies
126+ # run: vcpkg install
127+ #
128+ # - name: Install Ninja
129+ # uses: seanmiddleditch/gha-setup-ninja@96bed6edff20d1dd61ecff9b75cc519d516e6401 # v5
130+ #
131+ # - name: Download icx compiler
132+ # env:
133+ # # Link source: https://www.intel.com/content/www/us/en/developer/tools/oneapi/dpc-compiler-download.html
134+ # CMPLR_LINK: "https://registrationcenter-download.intel.com/akdlm/IRC_NAS/15a35578-2f9a-4f39-804b-3906e0a5f8fc/w_dpcpp-cpp-compiler_p_2024.2.1.83_offline.exe"
135+ # run: |
136+ # Invoke-WebRequest -Uri "${{ env.CMPLR_LINK }}" -OutFile compiler_install.exe
137+ #
138+ # - name: Install icx compiler
139+ # shell: cmd
140+ # run: |
141+ # start /b /wait .\compiler_install.exe -s -x -f extracted --log extract.log
142+ # extracted\bootstrapper.exe -s --action install --eula=accept -p=NEED_VS2017_INTEGRATION=0 ^
143+ # -p=NEED_VS2019_INTEGRATION=0 -p=NEED_VS2022_INTEGRATION=0 --log-dir=.
144+ #
145+ # - name: Configure build
146+ # shell: cmd
147+ # run: |
148+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
149+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
150+ # cmake ^
151+ # -B ${{env.BUILD_DIR}} ^
152+ # -DCMAKE_PREFIX_PATH="${{env.VCPKG_PATH}}" ^
153+ # -DCMAKE_C_COMPILER=${{matrix.compiler.c}} ^
154+ # -DCMAKE_CXX_COMPILER=${{matrix.compiler.cxx}} ^
155+ # -G Ninja ^
156+ # -DUMF_BUILD_SHARED_LIBRARY=${{matrix.shared_library}} ^
157+ # -DUMF_FORMAT_CODE_STYLE=OFF ^
158+ # -DUMF_DEVELOPER_MODE=ON ^
159+ # -DUMF_BUILD_LIBUMF_POOL_DISJOINT=ON ^
160+ # -DUMF_BUILD_LIBUMF_POOL_JEMALLOC=ON ^
161+ # -DUMF_BUILD_LEVEL_ZERO_PROVIDER=ON ^
162+ # -DUMF_BUILD_CUDA_PROVIDER=ON ^
163+ # -DUMF_TESTS_FAIL_ON_SKIP=ON
164+ #
165+ # - name: Build UMF
166+ # shell: cmd
167+ # run: |
168+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
169+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
170+ # cmake --build ${{env.BUILD_DIR}} --config ${{matrix.build_type}} -j %NUMBER_OF_PROCESSORS%
171+ #
172+ # - name: Run tests
173+ # shell: cmd
174+ # working-directory: ${{env.BUILD_DIR}}
175+ # run: |
176+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars.bat"
177+ # call "C:\Program Files (x86)\Intel\oneAPI\setvars-vcvarsall.bat"
178+ # ctest -C ${{matrix.build_type}} --output-on-failure --test-dir test
178179
179180 L0 :
180181 uses : ./.github/workflows/reusable_gpu.yml
@@ -185,7 +186,7 @@ jobs:
185186 with :
186187 name : " CUDA"
187188
188- # Full exeuction of QEMU tests
189+ # Full execution of QEMU tests
189190 QEMU :
190191 uses : ./.github/workflows/reusable_qemu.yml
191192 with :
0 commit comments