summaryrefslogtreecommitdiff
path: root/examples/imatrix/CMakeLists.txt
diff options
context:
space:
mode:
authorKawrakow <48489457+ikawrakow@users.noreply.github.com>2024-01-12 06:59:57 +0100
committerGitHub <noreply@github.com>2024-01-12 06:59:57 +0100
commit326b418b59b6d48d854c4461a2303e8ac0a311e6 (patch)
tree7c0d22f95b48183e685af4f70facecbe6b5963f5 /examples/imatrix/CMakeLists.txt
parent1d118386fea031f01550f8cd47a5c86296e5333f (diff)
Importance Matrix calculation (#4861)
* imatrix: 1st version * imatrix: WIP * Cleanup * Update examples/imatrix/imatrix.cpp Co-authored-by: Georgi Gerganov <ggerganov@gmail.com> --------- Co-authored-by: Iwan Kawrakow <iwan.kawrakow@gmail.com> Co-authored-by: Georgi Gerganov <ggerganov@gmail.com>
Diffstat (limited to 'examples/imatrix/CMakeLists.txt')
-rw-r--r--examples/imatrix/CMakeLists.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/examples/imatrix/CMakeLists.txt b/examples/imatrix/CMakeLists.txt
new file mode 100644
index 00000000..d688a162
--- /dev/null
+++ b/examples/imatrix/CMakeLists.txt
@@ -0,0 +1,5 @@
+set(TARGET imatrix)
+add_executable(${TARGET} imatrix.cpp)
+install(TARGETS ${TARGET} RUNTIME)
+target_link_libraries(${TARGET} PRIVATE common llama ${CMAKE_THREAD_LIBS_INIT})
+target_compile_features(${TARGET} PRIVATE cxx_std_11)