Team Ai
Apppublic

KBaba7/llama.cpp

sourceHugging Faceapache-2.0updated 2y agoView on Hugging Face
0likes
cmake_install.cmake59 linesDownload Raw Back to gguf-split
1# Install script for directory: /Users/kb7/Downloads/Quantization/llama.cpp/examples/gguf-split2 3# Set the install prefix4if(NOT DEFINED CMAKE_INSTALL_PREFIX)5  set(CMAKE_INSTALL_PREFIX "/usr/local")6endif()7string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")8 9# Set the install configuration name.10if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)11  if(BUILD_TYPE)12    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""13           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")14  else()15    set(CMAKE_INSTALL_CONFIG_NAME "Release")16  endif()17  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")18endif()19 20# Set the component getting installed.21if(NOT CMAKE_INSTALL_COMPONENT)22  if(COMPONENT)23    message(STATUS "Install component: \"${COMPONENT}\"")24    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")25  else()26    set(CMAKE_INSTALL_COMPONENT)27  endif()28endif()29 30# Is this installation the result of a crosscompile?31if(NOT DEFINED CMAKE_CROSSCOMPILING)32  set(CMAKE_CROSSCOMPILING "FALSE")33endif()34 35# Set path to fallback-tool for dependency-resolution.36if(NOT DEFINED CMAKE_OBJDUMP)37  set(CMAKE_OBJDUMP "/Library/Developer/CommandLineTools/usr/bin/objdump")38endif()39 40if(CMAKE_INSTALL_COMPONENT STREQUAL "Unspecified" OR NOT CMAKE_INSTALL_COMPONENT)41  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/bin" TYPE EXECUTABLE FILES "/Users/kb7/Downloads/Quantization/llama.cpp/build/bin/llama-gguf-split")42  if(EXISTS "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-gguf-split" AND43     NOT IS_SYMLINK "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-gguf-split")44    execute_process(COMMAND /usr/bin/install_name_tool45      -delete_rpath "/Users/kb7/Downloads/Quantization/llama.cpp/build/bin"46      "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-gguf-split")47    if(CMAKE_INSTALL_DO_STRIP)48      execute_process(COMMAND "/Library/Developer/CommandLineTools/usr/bin/strip" -u -r "$ENV{DESTDIR}${CMAKE_INSTALL_PREFIX}/bin/llama-gguf-split")49    endif()50  endif()51endif()52 53string(REPLACE ";" "\n" CMAKE_INSTALL_MANIFEST_CONTENT54       "${CMAKE_INSTALL_MANIFEST_FILES}")55if(CMAKE_INSTALL_LOCAL_ONLY)56  file(WRITE "/Users/kb7/Downloads/Quantization/llama.cpp/build/examples/gguf-split/install_local_manifest.txt"57     "${CMAKE_INSTALL_MANIFEST_CONTENT}")58endif()59