Skip to content

Commit

Permalink
update ov, enable npu backend, remove cmake hacks
Browse files Browse the repository at this point in the history
  • Loading branch information
WolframRhodium authored Apr 26, 2024
1 parent a7fb8f6 commit a33511b
Showing 1 changed file with 2 additions and 9 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,9 @@ jobs:
with:
submodules: recursive
# master
ref: b0ffec48be69bedeed3d1e669ca2844288e5825f
ref: 7ca4f07a3c4ea32ae800c93098a187ec7bd42efa
fetch-depth: 0

# required for CMAKE_MSVC_RUNTIME_LIBRARY
- name: Patch target cmake version
run: |
python -c "f=open('cmake/developer_package/api_validator/api_validator.cmake','r+b');s=f.read();insert_str=b'set(UWP_API_VALIDATOR \"\")\n ';point=s.index(b'if(UWP_API_VALIDATOR)');s=s[:point]+insert_str+s[point:];f.seek(0);f.write(s);f.truncate();f.close()"
python -c "f=open('CMakeLists.txt','r+b');s=f.read();start_str=b'cmake_minimum_required(VERSION ';start=s.rindex(start_str);end=s.index(b')',start);s=s[:start]+start_str+b'3.15'+s[end:];f.seek(0);f.write(s);f.truncate();f.close()"
python -c "f=open('src/plugins/intel_gpu/thirdparty/onednn_gpu/CMakeLists.txt','r+b');s=f.read();start_str=b'cmake_minimum_required(VERSION ';start=s.index(start_str);end=s.index(b')',start);s=s[:start]+start_str+b'3.15'+s[end:];f.seek(0);f.write(s);f.truncate();f.close()"
- name: Setup MSVC
uses: ilammy/msvc-dev-cmd@v1

Expand All @@ -42,7 +35,7 @@ jobs:
-D ENABLE_NCC_STYLE=OFF -D ENABLE_CLANG_FORMAT=OFF -D ENABLE_CPPLINT=OFF
-D THREADING=TBB -D ENABLE_INTEL_CPU=ON
-D ENABLE_INTEL_GPU=ON -D ENABLE_ONEDNN_FOR_GPU=ON -D OPENCL_ICD_LOADER_DISABLE_OPENCLON12=ON
-D ENABLE_INTEL_GNA=OFF
-D ENABLE_INTEL_NPU=ON
-D ENABLE_MULTI=ON -D ENABLE_AUTO=ON -D ENABLE_AUTO_BATCH=ON -D ENABLE_HETERO=ON -D ENABLE_TEMPLATE=OFF
-D ENABLE_OV_ONNX_FRONTEND=ON -D ENABLE_OV_TF_FRONTEND=ON -D ENABLE_OV_PADDLE_FRONTEND=OFF

Expand Down

0 comments on commit a33511b

Please sign in to comment.