pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Continued improvement with CentOS package builds
Successful package builds on CentOS 7 grew significantly again this quarter.
For the latest build, I switched the base compiler from gcc5 (no longer
supported upstream) to gcc6,
and enabled GCC fortify. ( I had been running with fortify disabled
recently due to some serious problems. )
2018Q2 using gcc5:
[root@centosdev bacon]# pkgin avail|wc -l
17865
Previous -current build (about 1 month ago) using gcc5:
[root@unixdev2 bacon]# pkgin avail|wc -l
18545
Latest -current build using gcc6:
[root@centosdev bacon]# pkgin avail|wc -l
18843
Packages and binary bootstrap kits are available here:
http://mirror1.hpc.uwm.edu/pkgsrc/
More details about my work are here:
https://uwm.edu/hpc/software-management/
Below is the current mk.conf (generated by auto-pkgsrc-setup to match
the pbulk build config).
The auto-pkgsrc-setup script and other tools are available here:
http://netbsd.org/~bacon/
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Mon Oct 1 09:39:28 CDT 2018
.ifdef BSD_PKG_MK # begin pkgsrc settings
ABI= 64
PKG_DBDIR= /usr/pkg/pkgdb
LOCALBASE= /usr/pkg
VARBASE= /usr/pkg/var
PKG_TOOLS_BIN= /usr/pkg/sbin
PKGINFODIR= info
PKGMANDIR= man
.endif # end pkgsrc settings
X11_TYPE= modular
PREFER_NATIVE= no
PREFER_PKGSRC= yes
PKGSRC_FORTRAN= gfortran
PKG_DEVELOPER= yes
FETCH_USING= curl
SKIP_LICENSE_CHECK= yes
PKG_OPTIONS.libfetch= inet6 openssl
.if empty(PKGPATH:Marchivers/bzip2) && \
empty(PKGPATH:Marchivers/pax) && \
empty(PKGPATH:Marchivers/xz) && \
empty(PKGPATH:Mconverters/help2man) && \
empty(PKGPATH:Mconverters/libiconv) && \
empty(PKGPATH:Mconverters/p5-Unicode-EastAsianWidth) && \
empty(PKGPATH:Mdevel/autoconf) && \
empty(PKGPATH:Mdevel/binutils) && \
empty(PKGPATH:Mdevel/gettext-lib) && \
empty(PKGPATH:Mdevel/gettext-tools) && \
empty(PKGPATH:Mdevel/gmake) && \
empty(PKGPATH:Mdevel/gmp) && \
empty(PKGPATH:Mdevel/gtexinfo) && \
empty(PKGPATH:Mdevel/pkgconf) && \
empty(PKGPATH:Mdevel/libtool-base) && \
empty(PKGPATH:Mdevel/m4) && \
empty(PKGPATH:Mdevel/ncurses) && \
empty(PKGPATH:Mdevel/nbpatch) && \
empty(PKGPATH:Mdevel/p5-gettext) && \
empty(PKGPATH:Mlang/gcc6) && \
empty(PKGPATH:Mlang/gcc6-libs) && \
empty(PKGPATH:Mlang/perl5) && \
empty(PKGPATH:Mmath/cloog) && \
empty(PKGPATH:Mmath/isl) && \
empty(PKGPATH:Mmath/mpcomplex) && \
empty(PKGPATH:Mmath/mpfr) && \
empty(PKGPATH:Mmisc/p5-Locale-libintl) && \
empty(PKGPATH:Mnet/libfetch) && \
empty(PKGPATH:Mpkgtools/cwrappers) && \
empty(PKGPATH:Mpkgtools/digest) && \
empty(PKGPATH:Mpkgtools/pkg_install-info) && \
empty(PKGPATH:Mpkgtools/pkgin) && \
empty(PKGPATH:Msysutils/checkperms) && \
empty(PKGPATH:Mtextproc/gsed) && \
empty(PKGPATH:Mtextproc/p5-Text-Unidecode)
GCC_REQD+=6.0
.endif # GCC_REQD
# RHEL systems may have an outdated "as" that cannot translate instructions
# from current GCC code generators, so force pkgsrc binutils.
.if exists(/etc/redhat-release) && !empty(PKGPATH:Mlang/gcc*)
CONFIGURE_ARGS+= --with-gnu-as --with-as=${PREFIX}/bin/gas
CONFIGURE_ARGS+= --with-gnu-ld --with-ld=${PREFIX}/bin/gld
BUILDLINK_DEPMETHOD.binutils= full
. include "../../devel/binutils/buildlink3.mk"
.endif
Home |
Main Index |
Thread Index |
Old Index