Skip to content
This repository was archived by the owner on Jul 4, 2025. It is now read-only.

Commit 45ae3a1

Browse files
committed
e:m
1 parent 406758b commit 45ae3a1

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

cortex-cpp/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
cmake_minimum_required(VERSION 3.5)
22
project(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)
67
endif()
7-
include(engines/cortex.python/engine.cmake)
88
include(CheckIncludeFileCXX)
99

1010
check_include_file_cxx(any HAS_ANY)

cortex-cpp/Makefile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,8 @@ endif
106106
ifeq ($(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;"
112111
else ifeq ($(shell uname -s),Linux)
113112
@cp -rf build/engines/cortex.python cortex-cpp/engines/; \
114113
cd cortex-cpp; \

0 commit comments

Comments
 (0)