This repository was archived by the owner on Jul 4, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11cmake_minimum_required (VERSION 3.5)
22project (cortex-cpp C CXX)
33
4- if (NOT CUDA_12_0 AND NOT CUDA_11_7)
5- include (engines/cortex.llamacpp/engine.cmake)
4+ include (engines/cortex.llamacpp/engine.cmake)
5+ if (NOT LLAMA_CUDA)
6+ include (engines/cortex.python/engine.cmake)
67endif ()
7- include (engines/cortex.python/engine.cmake)
88include (CheckIncludeFileCXX)
99
1010check_include_file_cxx(any HAS_ANY)
Original file line number Diff line number Diff line change @@ -106,9 +106,8 @@ endif
106106ifeq ($(OS ) ,Windows_NT)
107107 @powershell -Command "cp -r build\engines\cortex.python cortex-cpp\engines\;"
108108 @powershell -Command "cd cortex-cpp;..\..\.github\scripts\e2e-test-python-windows.bat cortex-cpp.exe ..\..\.github\scripts\$(PYTHON_FILE_EXECUTION_PATH);"
109- @powershell -Command "ls; cd .\cortex-cpp\; rm *.txt; ls"
110- @powershell -Command "mkdir xxx; ls; cd .\cortex-cpp\engines; Move-Item -Path .\cortex.python -Destination ..\..\xxx; ls;"
111- @powershell -Command "ls;"
109+ @powershell -Command "cd .\cortex-cpp\; rm *.txt;"
110+ @powershell -Command "mkdir python-temp; cd .\cortex-cpp\engines; Move-Item -Path .\cortex.python -Destination ..\..\python-temp;"
112111else ifeq ($(shell uname -s),Linux)
113112 @cp -rf build/engines/cortex.python cortex-cpp/engines/; \
114113 cd cortex-cpp; \
You can’t perform that action at this time.
0 commit comments