diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-07-10 23:40:16 +0100 |
commit | 51af5f0eb4cddbe6aa7953717873691d77aae9ff (patch) | |
tree | 1541525274162b033ebbc3ed38abaf335fbbd49a /sys-cluster/charliecloud | |
parent | 7014a5a3ea0feffab9701fdd6b64cc7667a985af (diff) |
gentoo resync : 11.07.2019
Diffstat (limited to 'sys-cluster/charliecloud')
9 files changed, 148 insertions, 312 deletions
diff --git a/sys-cluster/charliecloud/Manifest b/sys-cluster/charliecloud/Manifest index f5ba711f1ac3..3456a6aaaad5 100644 --- a/sys-cluster/charliecloud/Manifest +++ b/sys-cluster/charliecloud/Manifest @@ -1,12 +1,8 @@ -DIST charliecloud-0.9.1.tar.gz 194937 BLAKE2B 2ef2ee70cee3293ec4f7f589c9a034afa82835981132ea433d720b2a2750df68adb261540c98bc04e7f8904375dd8804819fb3015dc6e65bbe097fa55d558976 SHA512 6a54912ceb3ea99e9d3d1fa8469d7288df0b71872c6cb1d5a4d324f6f84754b7e4804ec1a3c2a30e7dd6377a3b474fea849eb42014f3599ad27a3f6214642a2b -DIST charliecloud-0.9.3.tar.gz 200507 BLAKE2B debd06bd6158a473d07618bc8fd9ae8c431212eef87699cdd412cf29390e25f6f9e596ac93eb0d663c47ca0b8243cfbcbfc634066f6de03bb673488471e7ef01 SHA512 d312a583438d579ef4ddd6b1d78cc2c6b32e352dad99dcff93f7e0a346aa11fa534091ad6446217bc6fe0dc6d7299d99ffb2c7bb1a441353fd9b2f118ead2c80 -DIST charliecloud-0.9.4.tar.gz 205882 BLAKE2B 2e669581ed0d672b4b4658aafeb5b14b67ee4f506459f00e19fc094e468c91763587b0c29ffd3d85ea8d1ab043fde0363baa925923bd20af77082a3a17da22bd SHA512 7ea58a372b1287b8ce38640ce31fdf6a131275807dc8194b1e302f9cfae0e220868f37fa6deb7f263e9f3f52a173f42b0f2f4c2e8f5a2e8699639ee5f680880f -DIST charliecloud-0.9.5.tar.gz 205980 BLAKE2B 9bd7a9817bb394fb4920b0647f0537618b77cdf80a7e4aca74491d041db4c9c60a088c6582cc62a76051393b3ed806819ea851c6fd964390e46f1e1376cca259 SHA512 9e147dec059bc729e7d94496587241e6a4e66c0dbef3dfd8e3d35993cc32555975f6fa9eb5288d7ea14e6d9243fcbfa8020bd1fdaa067d659923ba493b2a70d3 +AUX charliecloud-0.9.10-fix-flags.patch 1471 BLAKE2B 637d7fc18126a5842006233468da626a9e26c9e66c1efbf5112c0c391795a27885a28f90035894d6d529ad58926c59a9fb4ee50d8759a5d259b2e59ffef749f1 SHA512 6dae473e0583f3a167f88d1dc7006dfa0120d6f2a3508ca63e499dbbb9e1e2ef78041093144efa350d6a9653ac2de1d5b36f71b071af7577f467933d590a0379 +AUX charliecloud-0.9.10-fix-hardcoded-gcc.patch 708 BLAKE2B 78b73bf527f7d9be0aa9de06eb023557bd9934708dda8ff5d948fc8240484b5cb2a0404fd2184da2759c2c08e6dd4842e5dd60b6d9af92f12a4734557df49f13 SHA512 5dfab73c4242bad9620dca71737d69215f43c8b109d25bcd2156166d2bd83d328011c6d448ee87d5f54908ea7946283ba200a865c61500912da95b7acf6c13ad +DIST charliecloud-0.9.10.tar.gz 275687 BLAKE2B e03c3358dd4e5eb88f9c5a3002366c79563e15d5d7792dd55f2800a001b847c13443fce0689a850aa7e6a0aa510c3f6b53d93a88a6f79326eac27acc9cbe2c57 SHA512 93a6f0c6bcceb54fabbc179b960a0d03f1b3547786ce8d502552ddc571475ea2110d6aa290ce5c245be6e2c7cdc47d3f23ff7e74558f684b4a27358aa0971a61 DIST charliecloud-0.9.6.tar.gz 205380 BLAKE2B 2e95f5486ea6d2306512378290cd29114bc688717741436ae9cc8c1dd2679c22ab21059574d62222cd14063bacecc6a7005b216cd9e2ed01fe1593a3b69871b0 SHA512 55af3e57ef6c2b81ae10bd50d149872af50d508392b271bdaa75cf3b655659ec7da5016a9deeea15aaa20e265e8066d1ed982c122cb5e62ee6d47f25d367410f -EBUILD charliecloud-0.9.1.ebuild 1505 BLAKE2B 6b84d37c066ef552272760ab0e635d23dfaaee7db75b462e42da32699580f08940c75362de64c5d864cb3e88d5751f75386ed2ce68982ae59adcd46ea7c8c01d SHA512 80edeab864fc47f0f634edafa4bcf3c9ceed3e9ad4451f48974ed2a3c5a9cc432b5b1fe7c2391e88f2de74c94016ca3788cc40e58408a0a7491217052621a7da -EBUILD charliecloud-0.9.3.ebuild 1505 BLAKE2B 6b84d37c066ef552272760ab0e635d23dfaaee7db75b462e42da32699580f08940c75362de64c5d864cb3e88d5751f75386ed2ce68982ae59adcd46ea7c8c01d SHA512 80edeab864fc47f0f634edafa4bcf3c9ceed3e9ad4451f48974ed2a3c5a9cc432b5b1fe7c2391e88f2de74c94016ca3788cc40e58408a0a7491217052621a7da -EBUILD charliecloud-0.9.4.ebuild 1502 BLAKE2B b7dee3131b106eaa6ef4ec023339efcf33b24d9e684e0f3b0b9e246676f4868394e6a4a7e23cb66296c355de32cee0cc2425c8ca7241a3743787849bfdf80f4b SHA512 ad33df1b66ffab1b882b5799c89df2f03a3458c0bfc5e172eed3da9f37490db535c447ba9e4b177bdb747b43e3b042b9f88fac5021d7a1356bd70f32d1d18344 -EBUILD charliecloud-0.9.5.ebuild 1502 BLAKE2B b7dee3131b106eaa6ef4ec023339efcf33b24d9e684e0f3b0b9e246676f4868394e6a4a7e23cb66296c355de32cee0cc2425c8ca7241a3743787849bfdf80f4b SHA512 ad33df1b66ffab1b882b5799c89df2f03a3458c0bfc5e172eed3da9f37490db535c447ba9e4b177bdb747b43e3b042b9f88fac5021d7a1356bd70f32d1d18344 +EBUILD charliecloud-0.9.10.ebuild 1509 BLAKE2B 13fcc75ca82b10e34d44e93927ca79586d01e8f6c84bd3a6a109ee2be4ace68a8e85328e99b01eaaef20d66f595998eb540c387ab2d0d4be2db2d2f6a81ddbd3 SHA512 1c4975683bb9ec0e0762c1fcc1600177f80c4b7040b4d51e3c3f5b99dc480b6611cb725d8f21975bd63e51fbc97700d5152db4df6aaa84068e8fc1ed508dabb9 EBUILD charliecloud-0.9.6.ebuild 1502 BLAKE2B b7dee3131b106eaa6ef4ec023339efcf33b24d9e684e0f3b0b9e246676f4868394e6a4a7e23cb66296c355de32cee0cc2425c8ca7241a3743787849bfdf80f4b SHA512 ad33df1b66ffab1b882b5799c89df2f03a3458c0bfc5e172eed3da9f37490db535c447ba9e4b177bdb747b43e3b042b9f88fac5021d7a1356bd70f32d1d18344 -EBUILD charliecloud-9999.ebuild 1505 BLAKE2B 6b84d37c066ef552272760ab0e635d23dfaaee7db75b462e42da32699580f08940c75362de64c5d864cb3e88d5751f75386ed2ce68982ae59adcd46ea7c8c01d SHA512 80edeab864fc47f0f634edafa4bcf3c9ceed3e9ad4451f48974ed2a3c5a9cc432b5b1fe7c2391e88f2de74c94016ca3788cc40e58408a0a7491217052621a7da +EBUILD charliecloud-9999.ebuild 1335 BLAKE2B 82e9dbb1754feb1f93da68bc9342068a0d2dc4c2c700573ebf5502fc90b995d3e3db92141a9b9f5fbf0700e69ea2f0716a8ec6ecff0d929bf23b0b9998e61809 SHA512 00a9fd27b62c498219af402db3d2f694be02ec1605e5871dc09c71880d68b926772cec9e1dea6bb0311dcbd829162f9c6fb9887a936278b1b31a411003acd9a7 MISC metadata.xml 699 BLAKE2B 778ae447db939c0593dd147ad669e07fe8de217079988f82bd21ca545f1afe8056347173028056a9f0407a72b435dfc021dccbed1d860491712351ae727906b3 SHA512 2b19c7878b104128f537b3b5ab2070a3f643ae536af3f91ab52284aa13ae5752e4e8c012a51fa4261e140154f0c2c49f1aa480b22ace552fdab5067174247515 diff --git a/sys-cluster/charliecloud/charliecloud-0.9.1.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.1.ebuild deleted file mode 100644 index f7d1882d07be..000000000000 --- a/sys-cluster/charliecloud/charliecloud-0.9.1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# User namespaces don't play well with the sandbox. -RESTRICT="test" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hpc/${PN}.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" -HOMEPAGE="https://hpc.github.io/charliecloud/" - -SLOT="0" -LICENSE="Apache-2.0" -IUSE="doc examples +pv test" - -RDEPEND="" -DEPEND="${RDEPEND} - pv? ( sys-apps/pv ) - doc? ( dev-python/sphinx - dev-python/sphinx_rtd_theme - net-misc/rsync ) - test? ( app-arch/pigz )" - -DOCS=( - README.rst -) - -src_compile() { - emake - use doc && emake -C doc-src -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" - if use doc; then - mv doc html || die - local HTML_DOCS=(html/.) - fi - if use examples; then - docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" - DOCS+=(examples) - fi - rm -rf "${ED}/usr/share/doc/charliecloud" || die - einstalldocs -} - -src_test() { - cd "${S}/test" || die - export CH_TEST_TARDIR="${T}/tarballs" - export CH_TEST_IMGDIR="${T}/images" - - # Do not run tests requiring root. - export CH_TEST_PERMDIRS="skip" - export CH_TEST_SKIP_DOCKER=yes - sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die - - emake test-quick -} diff --git a/sys-cluster/charliecloud/charliecloud-0.9.10.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.10.ebuild new file mode 100644 index 000000000000..fe9cc07e931a --- /dev/null +++ b/sys-cluster/charliecloud/charliecloud-0.9.10.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit python-single-r1 + +if [[ ${PV} == "9999" ]] ; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/hpc/${PN}.git" + S="${WORKDIR}/${P}" +else + SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" +HOMEPAGE="https://hpc.github.io/charliecloud/" + +SLOT="0" +LICENSE="Apache-2.0" +IUSE="doc examples +pv" + +# Extensive test suite exists, but downloads container images +# directly and via Docker and installs packages inside using apt/yum. +# Additionally, clashes with portage namespacing and sandbox. +RESTRICT="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + pv? ( sys-apps/pv ) +" +DEPEND="doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + net-misc/rsync + )" + +PATCHES=( + "${FILESDIR}"/"${PN}-${PV}"-fix-flags.patch + "${FILESDIR}"/"${PN}-${PV}"-fix-hardcoded-gcc.patch +) + +src_compile() { + emake + use doc && emake -C doc-src +} + +src_install() { + emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" LIBEXEC_DIR="libexec/${PF}" + if use doc; then + local HTML_DOCS=(doc/.) + fi + if use examples; then + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples + fi + rm -rf "${ED}/usr/share/doc/charliecloud" || die + einstalldocs +} diff --git a/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild deleted file mode 100644 index f7d1882d07be..000000000000 --- a/sys-cluster/charliecloud/charliecloud-0.9.3.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# User namespaces don't play well with the sandbox. -RESTRICT="test" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hpc/${PN}.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" -HOMEPAGE="https://hpc.github.io/charliecloud/" - -SLOT="0" -LICENSE="Apache-2.0" -IUSE="doc examples +pv test" - -RDEPEND="" -DEPEND="${RDEPEND} - pv? ( sys-apps/pv ) - doc? ( dev-python/sphinx - dev-python/sphinx_rtd_theme - net-misc/rsync ) - test? ( app-arch/pigz )" - -DOCS=( - README.rst -) - -src_compile() { - emake - use doc && emake -C doc-src -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" - if use doc; then - mv doc html || die - local HTML_DOCS=(html/.) - fi - if use examples; then - docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" - DOCS+=(examples) - fi - rm -rf "${ED}/usr/share/doc/charliecloud" || die - einstalldocs -} - -src_test() { - cd "${S}/test" || die - export CH_TEST_TARDIR="${T}/tarballs" - export CH_TEST_IMGDIR="${T}/images" - - # Do not run tests requiring root. - export CH_TEST_PERMDIRS="skip" - export CH_TEST_SKIP_DOCKER=yes - sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die - - emake test-quick -} diff --git a/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild deleted file mode 100644 index 3fd8f0d7646a..000000000000 --- a/sys-cluster/charliecloud/charliecloud-0.9.4.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# User namespaces don't play well with the sandbox. -RESTRICT="test" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hpc/${PN}.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" -HOMEPAGE="https://hpc.github.io/charliecloud/" - -SLOT="0" -LICENSE="Apache-2.0" -IUSE="doc examples +pv test" - -RDEPEND="" -DEPEND="${RDEPEND} - pv? ( sys-apps/pv ) - doc? ( dev-python/sphinx - dev-python/sphinx_rtd_theme - net-misc/rsync ) - test? ( app-arch/pigz )" - -DOCS=( - README.rst -) - -src_compile() { - emake - use doc && emake -C doc-src -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" - if use doc; then - mv doc html || die - local HTML_DOCS=(html/.) - fi - if use examples; then - docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" - DOCS+=(examples) - fi - rm -rf "${ED}/usr/share/doc/charliecloud" || die - einstalldocs -} - -src_test() { - cd "${S}/test" || die - export CH_TEST_TARDIR="${T}/tarballs" - export CH_TEST_IMGDIR="${T}/images" - - # Do not run tests requiring root. - export CH_TEST_PERMDIRS="skip" - export CH_TEST_SKIP_DOCKER=yes - sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die - - emake test-quick -} diff --git a/sys-cluster/charliecloud/charliecloud-0.9.5.ebuild b/sys-cluster/charliecloud/charliecloud-0.9.5.ebuild deleted file mode 100644 index 3fd8f0d7646a..000000000000 --- a/sys-cluster/charliecloud/charliecloud-0.9.5.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2018 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -# User namespaces don't play well with the sandbox. -RESTRICT="test" - -if [[ ${PV} == "9999" ]] ; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/hpc/${PN}.git" - S="${WORKDIR}/${P}" -else - SRC_URI="https://github.com/hpc/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -fi - -DESCRIPTION="Lightweight user-defined software stacks for high-performance computing" -HOMEPAGE="https://hpc.github.io/charliecloud/" - -SLOT="0" -LICENSE="Apache-2.0" -IUSE="doc examples +pv test" - -RDEPEND="" -DEPEND="${RDEPEND} - pv? ( sys-apps/pv ) - doc? ( dev-python/sphinx - dev-python/sphinx_rtd_theme - net-misc/rsync ) - test? ( app-arch/pigz )" - -DOCS=( - README.rst -) - -src_compile() { - emake - use doc && emake -C doc-src -} - -src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" - if use doc; then - mv doc html || die - local HTML_DOCS=(html/.) - fi - if use examples; then - docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" - DOCS+=(examples) - fi - rm -rf "${ED}/usr/share/doc/charliecloud" || die - einstalldocs -} - -src_test() { - cd "${S}/test" || die - export CH_TEST_TARDIR="${T}/tarballs" - export CH_TEST_IMGDIR="${T}/images" - - # Do not run tests requiring root. - export CH_TEST_PERMDIRS="skip" - export CH_TEST_SKIP_DOCKER=yes - sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die - - emake test-quick -} diff --git a/sys-cluster/charliecloud/charliecloud-9999.ebuild b/sys-cluster/charliecloud/charliecloud-9999.ebuild index f7d1882d07be..a10f56497f10 100644 --- a/sys-cluster/charliecloud/charliecloud-9999.ebuild +++ b/sys-cluster/charliecloud/charliecloud-9999.ebuild @@ -1,10 +1,11 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -# User namespaces don't play well with the sandbox. -RESTRICT="test" +PYTHON_COMPAT=( python3_{5,6,7} ) + +inherit python-single-r1 if [[ ${PV} == "9999" ]] ; then inherit git-r3 @@ -20,19 +21,23 @@ HOMEPAGE="https://hpc.github.io/charliecloud/" SLOT="0" LICENSE="Apache-2.0" -IUSE="doc examples +pv test" +IUSE="doc examples +pv" -RDEPEND="" -DEPEND="${RDEPEND} - pv? ( sys-apps/pv ) - doc? ( dev-python/sphinx - dev-python/sphinx_rtd_theme - net-misc/rsync ) - test? ( app-arch/pigz )" +# Extensive test suite exists, but downloads container images +# directly and via Docker and installs packages inside using apt/yum. +# Additionally, clashes with portage namespacing and sandbox. +RESTRICT="test" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" -DOCS=( - README.rst -) +RDEPEND="${PYTHON_DEPS} + pv? ( sys-apps/pv ) +" +DEPEND="doc? ( + dev-python/sphinx[${PYTHON_USEDEP}] + dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}] + net-misc/rsync + )" src_compile() { emake @@ -40,28 +45,10 @@ src_compile() { } src_install() { - emake install PREFIX="${EPREFIX}/usr" DESTDIR="${ED}" - if use doc; then - mv doc html || die - local HTML_DOCS=(html/.) - fi + emake install PREFIX="${EPREFIX}/usr" DESTDIR="${D}" DOCDIR="${ED}/usr/share/doc/${PF}" LIBEXEC_DIR="libexec/${PF}" if use examples; then - docompress -x "${EPREFIX}/usr/share/doc/${PF}/examples" - DOCS+=(examples) + docompress -x "/usr/share/doc/${PF}/examples" + dodoc -r examples fi - rm -rf "${ED}/usr/share/doc/charliecloud" || die einstalldocs } - -src_test() { - cd "${S}/test" || die - export CH_TEST_TARDIR="${T}/tarballs" - export CH_TEST_IMGDIR="${T}/images" - - # Do not run tests requiring root. - export CH_TEST_PERMDIRS="skip" - export CH_TEST_SKIP_DOCKER=yes - sed -i 's/CHTEST_HAVE_SUDO=yes/CHTEST_HAVE_SUDO=no/' "${S}/test/common.bash" || die - - emake test-quick -} diff --git a/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-flags.patch b/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-flags.patch new file mode 100644 index 000000000000..24f2f2d72532 --- /dev/null +++ b/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-flags.patch @@ -0,0 +1,37 @@ +From f0b867bb3bb527150e86a891c0c84dff3acc39e8 Mon Sep 17 00:00:00 2001 +From: Peter Wienemann <wienemann@physik.uni-bonn.de> +Date: Mon, 1 Jul 2019 19:17:25 +0200 +Subject: [PATCH] PR #462 from @wiene: Add missing compiler flags for examples + +This patch ensures that CFLAGS, CPPFLAGS and LDFLAGS settings are +respected when compiling/linking (lib)sotest, pivot_root and userns. +--- + examples/syscalls/Makefile | 2 +- + test/Makefile | 4 ++-- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/examples/syscalls/Makefile b/examples/syscalls/Makefile +index 4dbef21b..177ab42a 100644 +--- a/examples/syscalls/Makefile ++++ b/examples/syscalls/Makefile +@@ -10,4 +10,4 @@ clean: + $(BINS): Makefile + + %: %.c +- gcc $(CFLAGS) $< -o $@ ++ gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ +diff --git a/test/Makefile b/test/Makefile +index 50f24596..97a9316b 100644 +--- a/test/Makefile ++++ b/test/Makefile +@@ -81,8 +81,8 @@ sotest/lib/libsotest.so.1.0: sotest/libsotest.so.1.0 + # the container. (Issue #227.) + + sotest/sotest: sotest/sotest.c sotest/libsotest.so.1.0 +- gcc -o $@ -L./sotest -lsotest $^ ++ gcc -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -L./sotest -lsotest $^ + sotest/libsotest.so.1.0: sotest/libsotest.c +- gcc -o $@ -shared -fPIC -Wl,-soname,libsotest.so.1 -lc $^ ++ gcc -o $@ $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) -shared -fPIC -Wl,-soname,libsotest.so.1 -lc $^ + ln -f -s libsotest.so.1.0 sotest/libsotest.so + ln -f -s libsotest.so.1.0 sotest/libsotest.so.1 diff --git a/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-hardcoded-gcc.patch b/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-hardcoded-gcc.patch new file mode 100644 index 000000000000..5654e71da5ad --- /dev/null +++ b/sys-cluster/charliecloud/files/charliecloud-0.9.10-fix-hardcoded-gcc.patch @@ -0,0 +1,21 @@ +From d42f3201bb91c582d4533c732e167961030091f9 Mon Sep 17 00:00:00 2001 +From: Oliver Freyermuth <o.freyermuth@googlemail.com> +Date: Sat, 6 Jul 2019 17:01:06 +0200 +Subject: [PATCH] examples/syscall/Makefile: Fix hardcoded call to gcc. + +To be open for choice of different C compilers, +honour CC variable. +--- + examples/syscalls/Makefile | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/examples/syscalls/Makefile b/examples/syscalls/Makefile +index 177ab42a..7dc9a4b8 100644 +--- a/examples/syscalls/Makefile ++++ b/examples/syscalls/Makefile +@@ -10,4 +10,4 @@ clean: + $(BINS): Makefile + + %: %.c +- gcc $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ ++ $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS) $< -o $@ |