Skip to content

Commit

Permalink
fix: add missing macro definitions ggerganov#8281
Browse files Browse the repository at this point in the history
Integrate it in comments for now

Co-Authored-By: Natsu <chino@hotococoa.moe>
  • Loading branch information
Nexesenex and akemimadoka committed Jul 11, 2024
1 parent db0cdaf commit d2f9f25
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -443,6 +443,16 @@ if (LLAMA_LLAMAFILE)
set(GGML_SOURCES_LLAMAFILE sgemm.cpp)
endif()

#if (BUILD_SHARED_LIBS)
# set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
# target_compile_definitions(ggml PRIVATE GGML_SHARED GGML_BUILD)
#endif()
#
#if (BUILD_SHARED_LIBS_DEFAULT)
# set_target_properties(ggml PROPERTIES POSITION_INDEPENDENT_CODE ON)
# target_compile_definitions(ggml PRIVATE GGML_SHARED GGML_BUILD)
#endif()

if (LLAMA_CCACHE)
find_program(LLAMA_CCACHE_FOUND ccache)
if (LLAMA_CCACHE_FOUND)
Expand Down

0 comments on commit d2f9f25

Please sign in to comment.