ik_llama_opt/scripts
Andrew Moryakov a67287124d
scripts : add build-zen.{sh,bat} helpers for AVX-512-capable CPUs (#1734)
Adds two thin one-liner-ish helpers that invoke `cmake` with the flag
set documented in docs/build.md "CPU build flags for AVX-512", so that
users on AMD Zen4 / Intel Sapphire Rapids+ hardware get the IQK
HAVE_FANCY_SIMD path activated without having to remember the five
relevant `GGML_AVX512_*=ON` options.

  scripts/build-zen.sh   - Linux / macOS bash wrapper
  scripts/build-zen.bat  - Windows MSVC wrapper (run from a
                           "x64 Native Tools Command Prompt")

Both default to a "build" output directory, both pass through to the
same cmake invocation, and both work alongside the existing build
options (no behavioural change to vanilla CMake builds).

.gitignore: added `!scripts/build-*.sh` / `!scripts/build-*.bat`
exceptions, in line with the existing `!build-info.sh` / `!build.zig`
exceptions, so the scripts directory build helpers don't get caught
by the broad `build*` artifact pattern.

This is a follow-up to #1729 — the docs section explains why these
flags matter, this PR makes them one command away.
2026-05-04 15:34:28 +03:00
..
build-info.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
build-zen.bat scripts : add build-zen.{sh,bat} helpers for AVX-512-capable CPUs (#1734) 2026-05-04 15:34:28 +03:00
build-zen.sh scripts : add build-zen.{sh,bat} helpers for AVX-512-capable CPUs (#1734) 2026-05-04 15:34:28 +03:00
check-requirements.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
ci-run.sh
compare-commits.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
compare-llama-bench.py Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
debug-test.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
fetch_server_test_models.py Tool calls support from mainline (#723) 2025-09-01 08:38:49 +03:00
gen-authors.sh license : update copyright notice + add AUTHORS (#6405) 2024-04-09 09:23:19 +03:00
gen-unicode-data.py Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
gen-unicode-script-data.py Add Unicode allowlist (#1597) 2026-04-10 18:22:57 +02:00
get-flags.mk
get-hellaswag.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
get-pg.sh
get-wikitext-2.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
get-wikitext-103.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
get-winogrande.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
get_hf_chat_template.py Tool calls support from mainline (#723) 2025-09-01 08:38:49 +03:00
hf.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
install-oneapi.bat
pod-llama.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
qnt-all.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
run-all-perf.sh
run-all-ppl.sh `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
run-with-preset.py `build`: rename main → llama-cli, server → llama-server, llava-cli → llama-llava-cli, etc... (#7809) 2024-06-13 00:41:52 +01:00
server-llm.sh Merge mainline llama.cpp (#3) 2024-07-27 07:55:01 +02:00
server-test-model.py Autoparser - complete refactoring of parser architecture (#1376) 2026-04-22 10:04:13 +02:00
sync-ggml-am.sh Merge mainline - Aug 12 2024 (#17) 2024-08-12 15:14:32 +02:00
sync-ggml.last Merge mainline - Aug 12 2024 (#17) 2024-08-12 15:14:32 +02:00
sync-ggml.sh Merge mainline - Aug 12 2024 (#17) 2024-08-12 15:14:32 +02:00
sync_vendor.py common : introduce composable PEG parser combinators for chat parsing and new jinja template engine (#1369) 2026-03-09 11:03:33 +01:00
tool_bench.py Tool calls support from mainline (#723) 2025-09-01 08:38:49 +03:00
tool_bench.sh Tool calls support from mainline (#723) 2025-09-01 08:38:49 +03:00
verify-checksum-models.py convert.py : add python logging instead of print() (#6511) 2024-05-03 22:36:41 +03:00
xxd.cmake `build`: generate hex dump of server assets during build (#6661) 2024-04-21 18:48:53 +01:00