Skip to content

Commit c839a2d

Browse files
authored
cmake : Remove redundant include path in CMakeLists.txt (ggml-org#14452)
* Update docker.yml 修改docker.yml文件中的内容使其停止周期性的运行该workflow,如果想要运行该workflow可以手动启动 * Remove redundant include path in CMakeLists.txt The parent directory '..' was removed from the include directories for the ggml-cpu-feats target, to avoid unnecessary include paths. * Enable scheduled Docker image builds Uncomments the workflow schedule to trigger daily Docker image rebuilds at 04:12 UTC, improving automation and keeping images up to date.
1 parent e9b6350 commit c839a2d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ggml/src/ggml-cpu/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function(ggml_add_cpu_backend_features cpu_name arch)
55
# build, using set_source_files_properties() to set the arch flags is not possible
66
set(GGML_CPU_FEATS_NAME ${cpu_name}-feats)
77
add_library(${GGML_CPU_FEATS_NAME} OBJECT ggml-cpu/arch/${arch}/cpu-feats.cpp)
8-
target_include_directories(${GGML_CPU_FEATS_NAME} PRIVATE . .. ../include)
8+
target_include_directories(${GGML_CPU_FEATS_NAME} PRIVATE . ../include)
99
target_compile_definitions(${GGML_CPU_FEATS_NAME} PRIVATE ${ARGN})
1010
target_compile_definitions(${GGML_CPU_FEATS_NAME} PRIVATE GGML_BACKEND_DL GGML_BACKEND_BUILD GGML_BACKEND_SHARED)
1111
set_target_properties(${GGML_CPU_FEATS_NAME} PROPERTIES POSITION_INDEPENDENT_CODE ON)

0 commit comments

Comments
 (0)