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
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -2,7 +2,9 @@ cmake_minimum_required(VERSION 3.5)
22project (cortex-cpp C CXX)
33
44include (engines/cortex.llamacpp/engine.cmake)
5- include (engines/cortex.python/engine.cmake)
5+ if (NOT LLAMA_CUDA)
6+ include (engines/cortex.python/engine.cmake)
7+ endif ()
68include (CheckIncludeFileCXX)
79
810check_include_file_cxx(any HAS_ANY)
Original file line number Diff line number Diff line change @@ -106,10 +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 "rm *.txt;"
110- @powershell -Command "ls .\engines;"
111- @powershell -Command "cd engines; rm -r cortex.python;"
112- @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;"
113111else ifeq ($(shell uname -s),Linux)
114112 @cp -rf build/engines/cortex.python cortex-cpp/engines/; \
115113 cd cortex-cpp; \
You can’t perform that action at this time.
0 commit comments