]> git.djapps.eu Git - pkg/ggml/commitdiff
Improve README
authorMathieu Baudier <redacted>
Sat, 15 Feb 2025 07:11:46 +0000 (08:11 +0100)
committerMathieu Baudier <redacted>
Sat, 15 Feb 2025 07:11:46 +0000 (08:11 +0100)
README.md

index 1747b8935d48a4fff57da350f47153ad9e67b4e3..1338c42466c4dd9b0cf305b17346dca943e3c505 100644 (file)
--- a/README.md
+++ b/README.md
@@ -35,28 +35,6 @@ or:
        cd sources/llama.cpp
        ../build-pbuilder bullseye amd64 debian/bullseye
 
-## Using locally built packages ##
-Except for `ggml` itself, pbuilder/cowbuilder needs to be configured appropriately
- in order to use either a local repository with the `ggml` packages you just built,
- or a remote repository with the required `ggml`-related packages.
-
-To configure a local repository, update `/etc/pbuilderrc`. For example:
-
-       ...
-       BINDMOUNTS="/srv/repo/deb/bullseye/ml/1.1 /srv/repo/deb/bookworm/ml/1.1 /srv/repo/deb/sid/ml/1.1"
-       ...
-
-and create a `create-pbuilder.settings` file which will be sourced by the script:
-
-       export GIT_PBUILDER_OPTIONS="--aptcache /var/cache/pbuilder/aptcache --othermirror 'deb [trusted=yes] file:/srv/repo/deb/$1/ml/1.1/ ./'"
-
-The `Packages` file needs to be generated after each build. For example:
-
-       cd /srv/repo/deb/sid/ml/1.1
-       apt-ftparchive packages . > Packages
-
-(Or [hooks](https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build) can be used.)
-
 ## Development ##
 When developing the packaging, cd to a layer directory and [use git-buildpackage as usual](https://honk.sigxcpu.org/projects/git-buildpackage/manual-html/).
 
@@ -98,3 +76,25 @@ Edit `debian/changelog` and perform packaging-specific changes.
 Test the build locally:
 
        ../build-pbuilder bookworm amd64
+
+## Using locally built packages ##
+Except for `ggml` itself, pbuilder/cowbuilder needs to be configured appropriately
+ in order to use either a local repository with the `ggml` packages you just built,
+ or a remote repository with the required `ggml`-related packages.
+
+To configure a local repository, update `/etc/pbuilderrc`. For example:
+
+       ...
+       BINDMOUNTS="/srv/repo/deb/bullseye/ml/1.1 /srv/repo/deb/bookworm/ml/1.1 /srv/repo/deb/sid/ml/1.1"
+       ...
+
+and create a `create-pbuilder.settings` file which will be sourced by the script:
+
+       export GIT_PBUILDER_OPTIONS="--aptcache /var/cache/pbuilder/aptcache --othermirror 'deb [trusted=yes] file:/srv/repo/deb/$1/ml/1.1/ ./'"
+
+The `Packages` file needs to be generated after each build. For example:
+
+       cd /srv/repo/deb/sid/ml/1.1
+       apt-ftparchive packages . > Packages
+
+(Or [hooks](https://wiki.debian.org/PbuilderTricks#How_to_include_local_packages_in_the_build) can be used.)
\ No newline at end of file