Skip to content

Commit

Permalink
Add PKG_COMPRESSION support
Browse files Browse the repository at this point in the history
Also, add PKG_TAGS to win and macos build scripts.
  • Loading branch information
elprans committed Oct 16, 2024
1 parent f2ede08 commit ad94045
Show file tree
Hide file tree
Showing 20 changed files with 88 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,10 @@ ifneq ($(PKG_INSTALL_REF),)
EXTRAENV += -e PKG_INSTALL_REF="$(PKG_INSTALL_REF)"
endif

ifneq ($(PKG_COMPRESSION),)
EXTRAENV += -e PKG_COMPRESSION="$(PKG_COMPRESSION)"
endif

ifneq ($(EXTRA_OPTIMIZATIONS),)
EXTRAENV += -e EXTRA_OPTIMIZATIONS=true
endif
Expand Down
4 changes: 4 additions & 0 deletions integration/linux/build/centos-7/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/centos-8/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/debian-bookworm/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/debian-bullseye/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/debian-buster/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,10 @@ if [ -n "${PKG_TAGS}" ]; then
extraopts+=" --pkg-tags=${PKG_TAGS}"
fi

if [ -n "${PKG_COMPRESSION}" ]; then
extraopts+=" --pkg-compression=${PKG_COMPRESSION}"
fi

if [ -n "${EXTRA_OPTIMIZATIONS}" ]; then
extraopts+=" --extra-optimizations"
fi
Expand Down
4 changes: 4 additions & 0 deletions integration/linux/build/fedora-40/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,10 @@ if [ -n "${PKG_TAGS}" ]; then\n\
extraopts+=" --pkg-tags=${PKG_TAGS}"\n\
fi\n\
\n\
if [ -n "${PKG_COMPRESSION}" ]; then\n\
extraopts+=" --pkg-compression=${PKG_COMPRESSION}"\n\
fi\n\
\n\
if [ -n "${EXTRA_OPTIMIZATIONS}" ]; then\n\
extraopts+=" --extra-optimizations"\n\
fi\n\
Expand Down
4 changes: 4 additions & 0 deletions integration/linux/build/linux-aarch64/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/linux-x86_64/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/linuxmusl-aarch64/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/linuxmusl-x86_64/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/rockylinux-9/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/ubuntu-bionic/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/ubuntu-focal/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/ubuntu-hirsute/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/ubuntu-jammy/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions integration/linux/build/ubuntu-noble/Dockerfile

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions integration/macos/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@ if [ -n "${PKG_SUBDIST}" ]; then
extraopts+=" --pkg-subdist=${PKG_SUBDIST}"
fi

if [ -n "${PKG_TAGS}" ]; then
extraopts+=" --pkg-tags=${PKG_TAGS}"
fi

if [ -n "${PKG_COMPRESSION}" ]; then
extraopts+=" --pkg-compression=${PKG_COMPRESSION}"
fi

if [ -n "${EXTRA_OPTIMIZATIONS}" ]; then
extraopts+=" --extra-optimizations"
fi
Expand Down
8 changes: 8 additions & 0 deletions integration/win/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,14 @@ if [ -n "${PKG_SUBDIST}" ]; then
extraopts+=" --pkg-subdist=${PKG_SUBDIST}"
fi

if [ -n "${PKG_TAGS}" ]; then
extraopts+=" --pkg-tags=${PKG_TAGS}"
fi

if [ -n "${PKG_COMPRESSION}" ]; then
extraopts+=" --pkg-compression=${PKG_COMPRESSION}"
fi

if [ -n "${BUILD_GENERIC}" ]; then
extraopts+=" --generic"
fi
Expand Down

0 comments on commit ad94045

Please sign in to comment.