Skip to content

Fix #2252, add install() to CMakeLists.txt - #2256

Merged
ggerganov merged 1 commit into
ggml-org:masterfrom
Freed-Wu:install
Jul 19, 2023
Merged

ggerganov merged 1 commit into
ggml-org:masterfrom
Freed-Wu:install

Conversation

@Freed-Wu

Copy link
Copy Markdown
Contributor

It will simplify the process of packaging to many distributors

@ggerganov

Copy link
Copy Markdown
Member

Should find a way to install without changing the name of the binaries - there is too much docs and references using the original names

@Freed-Wu

Copy link
Copy Markdown
Contributor Author

Should find a way to install without changing the name of the binaries - there is too much docs and references using the original names

Just keep original name is OK. If some program have same name (such as main, server), packager will rename it to avoid conflict. At least let we agree this PR firstly.

@Freed-Wu

Copy link
Copy Markdown
Contributor Author

@ggerganov Any other problem?

@ggerganov
ggerganov merged commit b1f4290 into ggml-org:master Jul 19, 2023
ggerganov pushed a commit that referenced this pull request Jul 21, 2023
NixOS's mkl misses some libraries like mkl-sdl.pc. See #2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from #2256
PierceLBrooks pushed a commit to PierceLBrooks/ggllm.cpp that referenced this pull request Oct 10, 2023
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
Seunghhon pushed a commit to Seunghhon/llama.cpp that referenced this pull request Apr 26, 2026
…g#2277)

NixOS's mkl misses some libraries like mkl-sdl.pc. See ggml-org#2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from ggml-org#2256
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
phuongncn pushed a commit to phuongncn/llama.cpp-gx10-dgx-sparks-deepseekv4 that referenced this pull request Apr 28, 2026
…g#2277)

NixOS's mkl misses some libraries like mkl-sdl.pc. See ggml-org#2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from ggml-org#2256
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
ljubomirj pushed a commit to ljubomirj/llama.cpp that referenced this pull request May 6, 2026
…g#2277)

NixOS's mkl misses some libraries like mkl-sdl.pc. See ggml-org#2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from ggml-org#2256
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
…g#2277)

NixOS's mkl misses some libraries like mkl-sdl.pc. See ggml-org#2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from ggml-org#2256
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
AlexiAlp pushed a commit to minghaop/llama.cpp that referenced this pull request Jun 2, 2026
…g#2277)

NixOS's mkl misses some libraries like mkl-sdl.pc. See ggml-org#2261
Currently NixOS doesn't have intel C compiler (icx, icpx). See https://discourse.nixos.org/t/packaging-intel-math-kernel-libraries-mkl/975
So remove it from flake.nix

Some minor changes:

- Change pkgs.python310 to pkgs.python3 to keep latest
- Add pkgconfig to devShells.default
- Remove installPhase because we have `cmake --install` from ggml-org#2256
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants