llamacpp / Makefile
karrelin's picture
Add files using upload-large-folder tool
80c8588 verified
# CMAKE generated file: DO NOT EDIT!
# Generated by "Unix Makefiles" Generator, CMake Version 3.31
# Default target executed when no arguments are given to make.
default_target: all
.PHONY : default_target
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
.NOTPARALLEL:
#=============================================================================
# Special targets provided by cmake.
# Disable implicit rules so canonical targets will work.
.SUFFIXES:
# Disable VCS-based implicit rules.
% : %,v
# Disable VCS-based implicit rules.
% : RCS/%
# Disable VCS-based implicit rules.
% : RCS/%,v
# Disable VCS-based implicit rules.
% : SCCS/s.%
# Disable VCS-based implicit rules.
% : s.%
.SUFFIXES: .hpux_make_needs_suffix_list
# Command-line flag to silence nested $(MAKE).
$(VERBOSE)MAKESILENT = -s
#Suppress display of executed commands.
$(VERBOSE).SILENT:
# A target that is always out of date.
cmake_force:
.PHONY : cmake_force
#=============================================================================
# Set environment variables for the build.
# The shell in which to execute make rules.
SHELL = /bin/sh
# The CMake executable.
CMAKE_COMMAND = /usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake
# The command to remove a file.
RM = /usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -E rm -f
# Escaping for special characters.
EQUALS = =
# The top-level source directory on which CMake was run.
CMAKE_SOURCE_DIR = /content/tmp
# The top-level build directory on which CMake was run.
CMAKE_BINARY_DIR = /content/tmp/build
#=============================================================================
# Targets provided globally by CMake.
# Special rule for the target edit_cache
edit_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "No interactive CMake dialog available..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -E echo No\ interactive\ CMake\ dialog\ available.
.PHONY : edit_cache
# Special rule for the target edit_cache
edit_cache/fast: edit_cache
.PHONY : edit_cache/fast
# Special rule for the target rebuild_cache
rebuild_cache:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Running CMake to regenerate build system..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake --regenerate-during-build -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
.PHONY : rebuild_cache
# Special rule for the target rebuild_cache
rebuild_cache/fast: rebuild_cache
.PHONY : rebuild_cache/fast
# Special rule for the target list_install_components
list_install_components:
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Available install components are: \"Unspecified\""
.PHONY : list_install_components
# Special rule for the target list_install_components
list_install_components/fast: list_install_components
.PHONY : list_install_components/fast
# Special rule for the target install
install: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install
# Special rule for the target install
install/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Install the project..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -P cmake_install.cmake
.PHONY : install/fast
# Special rule for the target install/local
install/local: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local
# Special rule for the target install/local
install/local/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing only the local directory..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
.PHONY : install/local/fast
# Special rule for the target install/strip
install/strip: preinstall
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip
# Special rule for the target install/strip
install/strip/fast: preinstall/fast
@$(CMAKE_COMMAND) -E cmake_echo_color "--switch=$(COLOR)" --cyan "Installing the project stripped..."
/usr/local/lib/python3.11/dist-packages/cmake/data/bin/cmake -DCMAKE_INSTALL_DO_STRIP=1 -P cmake_install.cmake
.PHONY : install/strip/fast
# The main all target
all: cmake_check_build_system
$(CMAKE_COMMAND) -E cmake_progress_start /content/tmp/build/CMakeFiles /content/tmp/build//CMakeFiles/progress.marks
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 all
$(CMAKE_COMMAND) -E cmake_progress_start /content/tmp/build/CMakeFiles 0
.PHONY : all
# The main clean target
clean:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 clean
.PHONY : clean
# The main clean target
clean/fast: clean
.PHONY : clean/fast
# Prepare targets for installation.
preinstall: all
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall
# Prepare targets for installation.
preinstall/fast:
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 preinstall
.PHONY : preinstall/fast
# clear depends
depend:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 1
.PHONY : depend
#=============================================================================
# Target rules for targets named ggml-base
# Build rule for target.
ggml-base: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ggml-base
.PHONY : ggml-base
# fast build rule for target.
ggml-base/fast:
$(MAKE) $(MAKESILENT) -f ggml/src/CMakeFiles/ggml-base.dir/build.make ggml/src/CMakeFiles/ggml-base.dir/build
.PHONY : ggml-base/fast
#=============================================================================
# Target rules for targets named ggml
# Build rule for target.
ggml: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ggml
.PHONY : ggml
# fast build rule for target.
ggml/fast:
$(MAKE) $(MAKESILENT) -f ggml/src/CMakeFiles/ggml.dir/build.make ggml/src/CMakeFiles/ggml.dir/build
.PHONY : ggml/fast
#=============================================================================
# Target rules for targets named ggml-cpu
# Build rule for target.
ggml-cpu: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ggml-cpu
.PHONY : ggml-cpu
# fast build rule for target.
ggml-cpu/fast:
$(MAKE) $(MAKESILENT) -f ggml/src/CMakeFiles/ggml-cpu.dir/build.make ggml/src/CMakeFiles/ggml-cpu.dir/build
.PHONY : ggml-cpu/fast
#=============================================================================
# Target rules for targets named ggml-cuda
# Build rule for target.
ggml-cuda: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 ggml-cuda
.PHONY : ggml-cuda
# fast build rule for target.
ggml-cuda/fast:
$(MAKE) $(MAKESILENT) -f ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/build.make ggml/src/ggml-cuda/CMakeFiles/ggml-cuda.dir/build
.PHONY : ggml-cuda/fast
#=============================================================================
# Target rules for targets named llama
# Build rule for target.
llama: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama
.PHONY : llama
# fast build rule for target.
llama/fast:
$(MAKE) $(MAKESILENT) -f src/CMakeFiles/llama.dir/build.make src/CMakeFiles/llama.dir/build
.PHONY : llama/fast
#=============================================================================
# Target rules for targets named build_info
# Build rule for target.
build_info: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 build_info
.PHONY : build_info
# fast build rule for target.
build_info/fast:
$(MAKE) $(MAKESILENT) -f common/CMakeFiles/build_info.dir/build.make common/CMakeFiles/build_info.dir/build
.PHONY : build_info/fast
#=============================================================================
# Target rules for targets named common
# Build rule for target.
common: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 common
.PHONY : common
# fast build rule for target.
common/fast:
$(MAKE) $(MAKESILENT) -f common/CMakeFiles/common.dir/build.make common/CMakeFiles/common.dir/build
.PHONY : common/fast
#=============================================================================
# Target rules for targets named llama-batched-bench
# Build rule for target.
llama-batched-bench: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-batched-bench
.PHONY : llama-batched-bench
# fast build rule for target.
llama-batched-bench/fast:
$(MAKE) $(MAKESILENT) -f tools/batched-bench/CMakeFiles/llama-batched-bench.dir/build.make tools/batched-bench/CMakeFiles/llama-batched-bench.dir/build
.PHONY : llama-batched-bench/fast
#=============================================================================
# Target rules for targets named llama-gguf-split
# Build rule for target.
llama-gguf-split: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-gguf-split
.PHONY : llama-gguf-split
# fast build rule for target.
llama-gguf-split/fast:
$(MAKE) $(MAKESILENT) -f tools/gguf-split/CMakeFiles/llama-gguf-split.dir/build.make tools/gguf-split/CMakeFiles/llama-gguf-split.dir/build
.PHONY : llama-gguf-split/fast
#=============================================================================
# Target rules for targets named llama-imatrix
# Build rule for target.
llama-imatrix: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-imatrix
.PHONY : llama-imatrix
# fast build rule for target.
llama-imatrix/fast:
$(MAKE) $(MAKESILENT) -f tools/imatrix/CMakeFiles/llama-imatrix.dir/build.make tools/imatrix/CMakeFiles/llama-imatrix.dir/build
.PHONY : llama-imatrix/fast
#=============================================================================
# Target rules for targets named llama-bench
# Build rule for target.
llama-bench: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-bench
.PHONY : llama-bench
# fast build rule for target.
llama-bench/fast:
$(MAKE) $(MAKESILENT) -f tools/llama-bench/CMakeFiles/llama-bench.dir/build.make tools/llama-bench/CMakeFiles/llama-bench.dir/build
.PHONY : llama-bench/fast
#=============================================================================
# Target rules for targets named llama-cli
# Build rule for target.
llama-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-cli
.PHONY : llama-cli
# fast build rule for target.
llama-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/main/CMakeFiles/llama-cli.dir/build.make tools/main/CMakeFiles/llama-cli.dir/build
.PHONY : llama-cli/fast
#=============================================================================
# Target rules for targets named llama-perplexity
# Build rule for target.
llama-perplexity: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-perplexity
.PHONY : llama-perplexity
# fast build rule for target.
llama-perplexity/fast:
$(MAKE) $(MAKESILENT) -f tools/perplexity/CMakeFiles/llama-perplexity.dir/build.make tools/perplexity/CMakeFiles/llama-perplexity.dir/build
.PHONY : llama-perplexity/fast
#=============================================================================
# Target rules for targets named llama-quantize
# Build rule for target.
llama-quantize: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-quantize
.PHONY : llama-quantize
# fast build rule for target.
llama-quantize/fast:
$(MAKE) $(MAKESILENT) -f tools/quantize/CMakeFiles/llama-quantize.dir/build.make tools/quantize/CMakeFiles/llama-quantize.dir/build
.PHONY : llama-quantize/fast
#=============================================================================
# Target rules for targets named llama-server
# Build rule for target.
llama-server: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-server
.PHONY : llama-server
# fast build rule for target.
llama-server/fast:
$(MAKE) $(MAKESILENT) -f tools/server/CMakeFiles/llama-server.dir/build.make tools/server/CMakeFiles/llama-server.dir/build
.PHONY : llama-server/fast
#=============================================================================
# Target rules for targets named llama-run
# Build rule for target.
llama-run: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-run
.PHONY : llama-run
# fast build rule for target.
llama-run/fast:
$(MAKE) $(MAKESILENT) -f tools/run/CMakeFiles/llama-run.dir/build.make tools/run/CMakeFiles/llama-run.dir/build
.PHONY : llama-run/fast
#=============================================================================
# Target rules for targets named llama-tokenize
# Build rule for target.
llama-tokenize: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-tokenize
.PHONY : llama-tokenize
# fast build rule for target.
llama-tokenize/fast:
$(MAKE) $(MAKESILENT) -f tools/tokenize/CMakeFiles/llama-tokenize.dir/build.make tools/tokenize/CMakeFiles/llama-tokenize.dir/build
.PHONY : llama-tokenize/fast
#=============================================================================
# Target rules for targets named llama-tts
# Build rule for target.
llama-tts: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-tts
.PHONY : llama-tts
# fast build rule for target.
llama-tts/fast:
$(MAKE) $(MAKESILENT) -f tools/tts/CMakeFiles/llama-tts.dir/build.make tools/tts/CMakeFiles/llama-tts.dir/build
.PHONY : llama-tts/fast
#=============================================================================
# Target rules for targets named mtmd
# Build rule for target.
mtmd: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 mtmd
.PHONY : mtmd
# fast build rule for target.
mtmd/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/mtmd.dir/build.make tools/mtmd/CMakeFiles/mtmd.dir/build
.PHONY : mtmd/fast
#=============================================================================
# Target rules for targets named llama-llava-cli
# Build rule for target.
llama-llava-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-llava-cli
.PHONY : llama-llava-cli
# fast build rule for target.
llama-llava-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/llama-llava-cli.dir/build.make tools/mtmd/CMakeFiles/llama-llava-cli.dir/build
.PHONY : llama-llava-cli/fast
#=============================================================================
# Target rules for targets named llama-gemma3-cli
# Build rule for target.
llama-gemma3-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-gemma3-cli
.PHONY : llama-gemma3-cli
# fast build rule for target.
llama-gemma3-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/llama-gemma3-cli.dir/build.make tools/mtmd/CMakeFiles/llama-gemma3-cli.dir/build
.PHONY : llama-gemma3-cli/fast
#=============================================================================
# Target rules for targets named llama-minicpmv-cli
# Build rule for target.
llama-minicpmv-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-minicpmv-cli
.PHONY : llama-minicpmv-cli
# fast build rule for target.
llama-minicpmv-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/llama-minicpmv-cli.dir/build.make tools/mtmd/CMakeFiles/llama-minicpmv-cli.dir/build
.PHONY : llama-minicpmv-cli/fast
#=============================================================================
# Target rules for targets named llama-qwen2vl-cli
# Build rule for target.
llama-qwen2vl-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-qwen2vl-cli
.PHONY : llama-qwen2vl-cli
# fast build rule for target.
llama-qwen2vl-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/llama-qwen2vl-cli.dir/build.make tools/mtmd/CMakeFiles/llama-qwen2vl-cli.dir/build
.PHONY : llama-qwen2vl-cli/fast
#=============================================================================
# Target rules for targets named llama-mtmd-cli
# Build rule for target.
llama-mtmd-cli: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-mtmd-cli
.PHONY : llama-mtmd-cli
# fast build rule for target.
llama-mtmd-cli/fast:
$(MAKE) $(MAKESILENT) -f tools/mtmd/CMakeFiles/llama-mtmd-cli.dir/build.make tools/mtmd/CMakeFiles/llama-mtmd-cli.dir/build
.PHONY : llama-mtmd-cli/fast
#=============================================================================
# Target rules for targets named llama-cvector-generator
# Build rule for target.
llama-cvector-generator: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-cvector-generator
.PHONY : llama-cvector-generator
# fast build rule for target.
llama-cvector-generator/fast:
$(MAKE) $(MAKESILENT) -f tools/cvector-generator/CMakeFiles/llama-cvector-generator.dir/build.make tools/cvector-generator/CMakeFiles/llama-cvector-generator.dir/build
.PHONY : llama-cvector-generator/fast
#=============================================================================
# Target rules for targets named llama-export-lora
# Build rule for target.
llama-export-lora: cmake_check_build_system
$(MAKE) $(MAKESILENT) -f CMakeFiles/Makefile2 llama-export-lora
.PHONY : llama-export-lora
# fast build rule for target.
llama-export-lora/fast:
$(MAKE) $(MAKESILENT) -f tools/export-lora/CMakeFiles/llama-export-lora.dir/build.make tools/export-lora/CMakeFiles/llama-export-lora.dir/build
.PHONY : llama-export-lora/fast
# Help Target
help:
@echo "The following are some of the valid targets for this Makefile:"
@echo "... all (the default if no target is provided)"
@echo "... clean"
@echo "... depend"
@echo "... edit_cache"
@echo "... install"
@echo "... install/local"
@echo "... install/strip"
@echo "... list_install_components"
@echo "... rebuild_cache"
@echo "... build_info"
@echo "... common"
@echo "... ggml"
@echo "... ggml-base"
@echo "... ggml-cpu"
@echo "... ggml-cuda"
@echo "... llama"
@echo "... llama-batched-bench"
@echo "... llama-bench"
@echo "... llama-cli"
@echo "... llama-cvector-generator"
@echo "... llama-export-lora"
@echo "... llama-gemma3-cli"
@echo "... llama-gguf-split"
@echo "... llama-imatrix"
@echo "... llama-llava-cli"
@echo "... llama-minicpmv-cli"
@echo "... llama-mtmd-cli"
@echo "... llama-perplexity"
@echo "... llama-quantize"
@echo "... llama-qwen2vl-cli"
@echo "... llama-run"
@echo "... llama-server"
@echo "... llama-tokenize"
@echo "... llama-tts"
@echo "... mtmd"
.PHONY : help
#=============================================================================
# Special targets to cleanup operation of make.
# Special rule to run CMake to check the build system integrity.
# No rule that depends on this can have commands that come from listfiles
# because they might be regenerated.
cmake_check_build_system:
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles/Makefile.cmake 0
.PHONY : cmake_check_build_system