File tree 3 files changed +8
-10
lines changed
3 files changed +8
-10
lines changed Original file line number Diff line number Diff line change 18
18
- run : sudo ./ov/install_dependencies/install_openvino_dependencies.sh
19
19
- run : sudo apt-get install libtbb-dev
20
20
- run : source ./ov/setupvars.sh && cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -S ./ -B ./build/
21
- - run : source ./ov/setupvars.sh && cmake --build ./build/ --config ${{ matrix.build-type }} --target package -j
21
+ - run : source ./ov/setupvars.sh && cmake --build ./build/ --config ${{ matrix.build-type }} --target package
22
22
- run : source ./ov/setupvars.sh && cmake --install ./build/ --config ${{ matrix.build-type }} --prefix ov
23
23
- run : ov/samples/cpp/build_samples.sh -i ${{ github.workspace }}/s\ pace
24
24
if : ${{ 'Release' == matrix.build-type }} # build_samples enforces Release build
49
49
- run : curl --output ov.zip https://storage.openvinotoolkit.org/repositories/openvino/packages/nightly/2024.2.0-15349-765302e0de1/w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64.zip
50
50
- run : unzip ov.zip
51
51
- run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake -DCMAKE_BUILD_TYPE=${{ matrix.build-type }} -S ./ -B ./build/
52
- - run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --build ./build/ --config ${{ matrix.build-type }} --target package -j
52
+ - run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --build ./build/ --config ${{ matrix.build-type }} --target package
53
53
- run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && cmake --install ./build/ --config ${{ matrix.build-type }} --prefix w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64
54
54
- run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\samples\cpp\build_samples_msvc.bat -i "${{ github.workspace }}/samples_install"
55
55
if : ${{ 'Release' == matrix.build-type }} # build_samples enforces Release build
Original file line number Diff line number Diff line change 54
54
# build system doesn't. Install ./requirements-build.txt to detect possible conflicts.
55
55
- run : call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install ./thirdparty/openvino_tokenizers/[transformers] -r ./requirements-build.txt
56
56
- run : set "PYTHONPATH=./src/python;" && call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -c "from openvino_genai import LLMPipeline" # cmd evaluates variables in a different way. Setting PYTHONPATH before setupvars.bat instead of doing that after solves that.
57
- - run : set CMAKE_BUILD_PARALLEL_LEVEL="" && call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install .
57
+ - run : set CMAKE_BUILD_PARALLEL_LEVEL=&& call w_openvino_toolkit_windows_2024.2.0.dev20240515_x86_64\setupvars.bat && python -m pip install .
58
58
- run : python -c "from openvino_genai import LLMPipeline"
Original file line number Diff line number Diff line change @@ -75,13 +75,11 @@ install(TARGETS ${TARGET_NAME}
75
75
RUNTIME DESTINATION python/openvino_genai/ COMPONENT pygenai_${Python_VERSION_MAJOR} _${Python_VERSION_MINOR} )
76
76
77
77
# Copy libcore_tokenizers.so to build_dir/openvino_tokenizers/src/
78
- if (NOT MSVC )
79
- add_custom_command (TARGET ${TARGET_NAME} POST_BUILD
80
- COMMAND "${CMAKE_COMMAND} " -E copy
81
- "${CMAKE_BINARY_DIR} /_deps/fast_tokenizer-src/lib/libcore_tokenizers.so"
82
- "${CMAKE_BINARY_DIR} /openvino_tokenizers/src/"
83
- COMMENT "Copy libcore_tokenizers.so to build_dir/openvino_tokenizers/src/" )
84
- endif ()
78
+ add_custom_command (TARGET ${TARGET_NAME} POST_BUILD
79
+ COMMAND "${CMAKE_COMMAND} " -E copy
80
+ "$<TARGET_FILE:core_tokenizers>"
81
+ "${CMAKE_BINARY_DIR} /openvino_tokenizers/src/"
82
+ COMMENT "Copy libcore_tokenizers.so to build_dir/openvino_tokenizers/src/" )
85
83
86
84
# - Windows: `<openvino_dir>\runtime\bin\intel64\Release\`
87
85
# - MacOS_x86: `<openvino_dir>/runtime/lib/intel64/Release`
You can’t perform that action at this time.
0 commit comments