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

Commit 406758b

Browse files
committed
d:m
1 parent 2e51d6f commit 406758b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

cortex-cpp/CMakeLists.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
cmake_minimum_required(VERSION 3.5)
22
project(cortex-cpp C CXX)
33

4-
include(engines/cortex.llamacpp/engine.cmake)
4+
if(NOT CUDA_12_0 AND NOT CUDA_11_7)
5+
include(engines/cortex.llamacpp/engine.cmake)
6+
endif()
57
include(engines/cortex.python/engine.cmake)
68
include(CheckIncludeFileCXX)
79

cortex-cpp/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ 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);"
109109
@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;"
110+
@powershell -Command "mkdir xxx; ls; cd .\cortex-cpp\engines; Move-Item -Path .\cortex.python -Destination ..\..\xxx; ls;"
111111
@powershell -Command "ls;"
112112
else ifeq ($(shell uname -s),Linux)
113113
@cp -rf build/engines/cortex.python cortex-cpp/engines/; \

0 commit comments

Comments
 (0)