Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sci-libs/hdf5: Stabilize 1.10.5-r1 sparc, #733578 #25291

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions sci-libs/hdf5/hdf5-1.10.5-r1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI="7"

FORTRAN_NEEDED="fortran"

inherit autotools fortran-2 flag-o-matic toolchain-funcs multilib prefix
inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix

MY_P="${PN}-${PV/_p/-patch}"
MAJOR_P="${PN}-$(ver_cut 1-2)"
Expand All @@ -16,7 +16,7 @@ SRC_URI="https://www.hdfgroup.org/ftp/HDF5/releases/${MAJOR_P}/${MY_P}/src/${MY_

LICENSE="NCSA-HDF"
SLOT="0/${PV%%_p*}"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ppc ppc64 ~riscv sparc x86 ~amd64-linux ~x86-linux"
IUSE="cxx debug examples fortran +hl mpi szip threads unsupported zlib"

REQUIRED_USE="
Expand Down Expand Up @@ -83,6 +83,7 @@ src_prepare() {
}

src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local myconf=(
--disable-static
--enable-deprecated-symbols
Expand Down
5 changes: 3 additions & 2 deletions sci-libs/hdf5/hdf5-1.10.5.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

FORTRAN_NEEDED=fortran

inherit autotools fortran-2 flag-o-matic toolchain-funcs multilib prefix
inherit autotools fortran-2 flag-o-matic toolchain-funcs prefix

MY_P=${PN}-${PV/_p/-patch}
MAJOR_P=${PN}-$(ver_cut 1-2)
Expand Down Expand Up @@ -78,6 +78,7 @@ src_prepare() {
}

src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
econf \
--disable-static \
--enable-deprecated-symbols \
Expand Down
3 changes: 2 additions & 1 deletion sci-libs/hdf5/hdf5-1.12.1-r1.ebuild
Expand Up @@ -5,7 +5,7 @@ EAPI=7

FORTRAN_NEEDED="fortran"

inherit cmake flag-o-matic fortran-2
inherit cmake flag-o-matic fortran-2 toolchain-funcs

MY_P="${PN}-${PV/_p/-patch}"
MAJOR_P="${PN}-$(ver_cut 1-2)"
Expand Down Expand Up @@ -66,6 +66,7 @@ pkg_setup() {
}

src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
# Workaround needed to allow build with USE=fortran when an older
# version is installed. See bug #808633 and
Expand Down
5 changes: 3 additions & 2 deletions sci-libs/hdf5/hdf5-1.12.1.ebuild
@@ -1,11 +1,11 @@
# Copyright 1999-2021 Gentoo Authors
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=7

FORTRAN_NEEDED="fortran"

inherit cmake flag-o-matic fortran-2
inherit cmake flag-o-matic fortran-2 toolchain-funcs

MY_P="${PN}-${PV/_p/-patch}"
MAJOR_P="${PN}-$(ver_cut 1-2)"
Expand Down Expand Up @@ -62,6 +62,7 @@ pkg_setup() {
}

src_configure() {
use sparc && tc-is-gcc && append-flags -fno-tree-ccp # bug 686620
local mycmakeargs=(
-DBUILD_STATIC_LIBS=OFF
-DFETCHCONTENT_FULLY_DISCONNECTED=ON
Expand Down