Commit graph r-builds/builder
Author SHA1 Message Date
Gábor Csárdi
3e927c5055 Tell arch to nfpm 2023-01-10 19:45:32 +01:00
Gábor Csárdi
be9465a997 Use uname -m instead of uname -p, for Debian
On Debian uname -p returns 'unknown'.
2023-01-10 16:25:31 +01:00
Gábor Csárdi
3b3a13513d Support arm64 builds 2023-01-10 14:41:12 +01:00
Greg Lin
f66f829e57 Fix missing PCRE2 dependency in R 3.x builds for RHEL 9 2022-09-08 17:36:49 -05:00
Greg Lin
ef86564f8f Replace fpm with nFPM for all other platforms 2022-08-24 11:53:58 -05:00
Greg Lin
1552c23b3c Replace fpm with nfpm for the newest platforms
fpm has had multiple Ruby gem dependency issues, and nfpm has better support
for code signing if we wanted to do that in the future. The rest of the
platforms may be migrated to nfpm later.
2022-08-23 11:58:10 -05:00
Greg Lin
a245fc65d9 Fix fpm installation on openSUSE 15.4; switch to nfpm
fpm currently fails to install because the public_suffix gem dependency
requires Ruby 2.6, which openSUSE 15.4 doesn't provide. Because there have
been so many Ruby dependency issues with fpm in the past, switch to the fewer-
dependency nfpm, which also has better support for code signing if we want to
do that in the future.
2022-08-22 19:00:01 -05:00
Greg Lin
f8392bdea8 Add R builds for openSUSE 15.4/SLES 15 SP4 2022-08-18 13:15:45 -05:00
Greg Lin
979efa5b32 Add documentation about how we link against BLAS/LAPACK 2022-08-17 18:07:33 -05:00
Greg Lin
768316ab6f Add R builds for RHEL 9 2022-08-17 15:30:54 -05:00
Greg Lin
5576778f09 Remove deprecated version field from docker-compose.yml 2022-08-17 14:35:58 -05:00
Greg Lin
b3a54b1583 Drop Debian 9 builds for EOL
* Update default R version in README
2022-08-09 16:38:33 -05:00
Greg Lin
37d8c527c1 Drop SLES 12 support for EOL 2022-05-20 15:38:39 -05:00
Greg Lin
ee8b739d5f Update R-devel tarball location
The R-devel tarballs at https://stat.ethz.ch/R/daily/ are now empty, but
better to use the "official" CRAN tarballs anyway.
2022-05-03 11:19:37 -05:00
Greg Lin
1649b9a91b Switch back to using OpenBLAS for Ubuntu 22
Ubuntu 20 builds were switched to the default reference BLAS because
of a bug with the OpenBLAS package. That bug does not seem to affect
Ubuntu 22, so switch back to using OpenBLAS for Ubuntu 22, for
consistency with all other R builds.
2022-04-22 18:17:52 -05:00
Greg Lin
a611cb425b Fix missing Pango support in R 3.x for Ubuntu 22 2022-04-19 18:39:26 -05:00
Gábor Csárdi
6a0308e553 Fix renaming R-alpha etc in 'next'
Don't do it for other R versions.
2022-03-30 19:37:32 +02:00
Gábor Csárdi
04a2ff4fc3 Build the next version of R as well 2022-03-30 15:26:12 +02:00
Greg Lin
c7b30828b7 Drop openSUSE 15.2 builds for EOL 2022-03-23 17:47:23 -05:00
Greg Lin
c17e2b9666 Use CFLAGS/FFLAGS over the SHLIB_* variables
The default CFLAGS/FFLAGS for R 3.x is always '-g -O2' when using gcc.
2022-03-21 16:21:25 -05:00
Greg Lin
74c19bc1a0 Fix compilation of R 3.6.1 and below due to changes in GCC 10 2022-03-21 16:21:25 -05:00
Greg Lin
3d3918230c Include PCRE2 in R 3.x on Debian 11 for Pango support
In Debian 11, Pango now depends on PCRE2, so R 3.x will not be compiled with
Pango support if we hide PCRE2 to prevent R 3.5 and 3.6 from taking an unnecessary
dependency on PCRE2.

To check if R 3.x was compiled without Pango support, look for this line in the
configure output:

checking whether pkg-config knows about cairo and pango... no

Or in R, check if the "bitmapType" option defaults to "Xlib" instead of "Cairo":

> getOption("bitmapType")
"Xlib"
2022-03-21 16:21:25 -05:00
Greg Lin
3a1b8a2a10 Add builds for Debian 11 2022-03-21 16:21:25 -05:00
Greg Lin
c87a7a623e Update supported platforms; discontinue Ubuntu 16 and openSUSE 15 2022-02-09 17:52:45 -06:00
Greg Lin
ab11f64d61 Use Rocky Linux 8 in place of CentOS 8 2022-02-09 17:52:45 -06:00
Greg Lin
04af27df50 Temporarily disable CentOS 8 image builds because it's EOL 2022-02-04 12:43:14 -06:00
Greg Lin
ac8d54d878 Update serverless.yml and docker-compose.yml for jammy 2022-02-04 12:40:45 -06:00
Joshua C. Forest
fc32f1815a PR feedback 2022-02-04 08:23:41 -05:00
Joshua C. Forest
debfa03414 Add ubuntu 22.04 (jammy) support 2022-02-03 14:19:41 -05:00
Greg Lin
b60b6573c5 Fix openSUSE 15.3 installation and update to ICU 69
openSUSE/SLES 15.3 originally shipped with ICU 65 (libicu-devel), but later
added ICU 69 (icu.691-devel) in a patch update. Prefer ICU 69 because the devel
packages can't coexist, and zypper now resolves libicu-devel to icu.691-devel.

https://lists.suse.com/pipermail/sle-security-updates/2021-December/009908.html
2021-12-28 12:17:35 -06:00
Greg Lin
06223fd26d Update to supported version of AWS CLI on Ubuntu 16 2021-11-01 17:32:42 -05:00
Toni Noble
9bd29374e8 Merge branch 'master' into deth-build-on-suse15.3 2021-10-26 13:37:46 -04:00
Greg Lin
f797606b1c Work around issue with expired root certificate on openSUSE 42 2021-10-21 16:07:45 -05:00
Toni Noble
4cb58f5fe2 add builder/package.opensuse-153 2021-10-21 12:39:46 -04:00
Toni Noble
4ef223954c build on opensuse15.3 2021-10-21 10:46:56 -04:00
Greg Lin
1c168731cd Install missing TeX packages for R 4.1 in openSUSE
R 4.1 now additionally requires texlive-ae and texlive-fancyvrb
for PDF doc generation (stats package).
2021-05-13 17:00:15 -05:00
Greg Lin
0098d79df4 Fix AWS CLI installation on openSUSE 42
AWS CLI v1 is no longer supported on openSUSE 42's Python 2.7/3.4
2021-05-13 11:44:44 -05:00
Greg Lin
2c9979447c Support custom R tarball URL for testing prerelease builds 2021-05-13 11:44:44 -05:00
Greg Lin
6098b0074f Pin fpm to 1.11.0
fpm 1.12.0 adds an unintended runtime dependency on git, which should be
fixed in a future release. Pin fpm for now since installing git has its
own side effects, such as installing less and changing the default pager
on systems where less isn't available by default.
2021-02-16 10:51:15 -06:00
Greg Lin
3de0397cee Fix installations of fpm 1.12.0
* Pin fpm on older distros for compatibility with Ruby < 2.3
* Fix hardcoded references to fpm 1.11.0
2021-01-26 13:28:23 -06:00
Greg Lin
7df91107b9 Fix pip installation on CentOS 7
pip no longer supports Python 2.
2021-01-26 13:28:23 -06:00
Greg Lin
62a30c3b35 Work around broken OpenBLAS dependency for SLES 12
On SLES 12, the python-backports repo currently publishes a
broken openblas-devel package. Switch to libopenblas_pthreads-devel,
which provides the same OpenBLAS library, but is not broken.
2020-12-30 12:13:13 -06:00
Greg Lin
b271835bdf Update CentOS 8 Dockerfile for powertools repo rename 2020-12-09 15:49:25 -06:00
Greg Lin
c0ee373540 Discontinue CentOS 6 builds for EOL
This only stops the builds. Existing binaries will continue to be
hosted, and the quick install script continues to support CentOS 6.
2020-12-02 16:37:15 -06:00
Greg Lin
a4ccbeb3f3 Add builds for openSUSE 15.2
openSUSE 15.2 moved from ICU 60 to 65, breaking compatibility with
openSUSE 15.0 and 15.1.
2020-08-31 18:12:46 -05:00
Jim Hester
2494b8eb98 Support building R-devel
Martin Maechler, a member of R core provides a daily tarball of R-devel
sources at https://stat.ethz.ch/R/daily. This provides support for
building based on this source if R_VERSION is set to 'devel'
2020-07-27 08:44:44 -04:00
Jonathan Curran
00c0c90463 Fix ffi version for older distros where ruby<2.3 2020-06-02 10:57:53 -06:00
Greg Lin
d49f9104db Add -dev libs for R packages that link against libR
For consistency with CentOS and SUSE, and to install packages that
link against libR from source, like rJava. See `R CMD config --ldflags` and
https://cran.r-project.org/doc/manuals/r-devel/R-exts.html#Compiling-against-the-R-library
2020-05-14 14:55:02 -05:00
Greg Lin
650d3650ce Switch to dev PCRE in Ubuntu/Debian packages
For consistency with CentOS and SUSE, and because packages that
link against libR like rJava need PCRE dev headers to install
from source.
2020-05-14 13:56:58 -05:00
Greg Lin
048f2ca063 Remove unnecessary PCRE2 dependency on R 3.x
For more details on PCRE2 usage in R 3.x, see:
7d25524f8b/m4/R.m4 (L3056-L3058)
7d25524f8b/m4/R.m4 (L3139-L3155)
2020-05-14 12:45:10 -05:00