X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/1efba8f3b728a3b8aa3c64c5aa09f441318ff2a8..dcdaf7450fb66da2bc904a21f29660ac75e5864a:/build/README diff --git a/build/README b/build/README index 66ca509552..219b7791bf 100644 --- a/build/README +++ b/build/README @@ -11,15 +11,14 @@ In order to build packages, you will need: Quickstart ========== -Build and test all the packages for debian10 on your architecture by +Build and test all the packages for a distribution on your architecture by running: - ./run-build-test-packages-one-target.sh + ./run-build-test-packages-one-target.sh --target DISTRO -This will build package build and test Docker images for debian10, build all -packages in a build container, then test all packages in a test container. - -Use a different distro by adding the `--target TARGET` option. +This will build package build and test Docker images for the named target +distribution, build all packages in a build container, then test all +packages in a test container. Limit the build to a single architecture by adding the `--arch ARCH` option. Supported architectures are amd64 and arm64. Note cross-compilation @@ -81,9 +80,6 @@ In order to build packages on a new distribution, you MUST: * Add the new `TARGET/generated` rule to the `all` target in `package-build-dockerfiles/Makefile`. * Write `package-build-dockerfiles/TARGET/Dockerfile`. -* Add a rule for `TARGET/generated` to `package-test-dockerfiles/Makefile`. -* Add the new `TARGET/generated` rule to the `all` target in - `package-test-dockerfiles/Makefile`. * Write `package-test-dockerfiles/TARGET/Dockerfile`. * Create `package-testing/test-packages-TARGET.sh`, ideally by making it a symlink to `FORMAT-common-test-packages.sh`.