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/).
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