install pak from source on rhel
This commit is contained in:
parent
7d3ce5e54a
commit
6710eb3d36
4 changed files with 100 additions and 98 deletions
|
|
@ -8,36 +8,36 @@ depends_on:
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
# BLOCK: 1135:length(pkgs)
|
BLOCK: 1413:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
# BLOCK: 1098:length(pkgs)
|
BLOCK: 1322:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
# BLOCK: 1248:length(pkgs)
|
BLOCK: 1594:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
# BLOCK: 1325:length(pkgs)
|
BLOCK: 1645:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
# BLOCK: 1199:length(pkgs)
|
BLOCK: 1560:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
### AMD
|
### AMD
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 699:length(pkgs)
|
BLOCK: 699:length(pkgs)
|
||||||
|
|
@ -51,24 +51,24 @@ matrix:
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
# BLOCK: 1481:length(pkgs)
|
BLOCK: 1795:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
# BLOCK: 1542:length(pkgs)
|
BLOCK: 1893:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
# BLOCK: 1161:length(pkgs)
|
BLOCK: 1560:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
steps:
|
steps:
|
||||||
- name: 'Build binaries (${PLATFORM}: ${BLOCK})'
|
- name: 'Build binaries (${PLATFORM}: ${BLOCK})'
|
||||||
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token, GITHUB_PAT]
|
secrets: [red_hat_dev_pw, aws_access_key_id, aws_secret_access_key, pgpass, git_ro_token, GITHUB_PAT]
|
||||||
|
|
|
||||||
|
|
@ -5,36 +5,36 @@ skip_clone: true
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
# - PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
# BLOCK: 1135:length(pkgs)
|
BLOCK: 1135:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: redhat-8
|
- PLATFORM: redhat-8
|
||||||
# BLOCK: 1098:length(pkgs)
|
BLOCK: 1098:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
# BLOCK: 1248:length(pkgs)
|
BLOCK: 1248:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
# BLOCK: 1325:length(pkgs)
|
BLOCK: 1325:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
# BLOCK: 1199:length(pkgs)
|
BLOCK: 1199:length(pkgs)
|
||||||
# ARCH: arm64
|
ARCH: arm64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
### AMD
|
### AMD
|
||||||
- PLATFORM: redhat-9
|
- PLATFORM: redhat-9
|
||||||
BLOCK: 690:length(pkgs)
|
BLOCK: 690:length(pkgs)
|
||||||
|
|
@ -48,24 +48,24 @@ matrix:
|
||||||
NCPUS: 2
|
NCPUS: 2
|
||||||
MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2404
|
- PLATFORM: ubuntu-2404
|
||||||
# BLOCK: 1481:length(pkgs)
|
BLOCK: 1481:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: ubuntu-2204
|
- PLATFORM: ubuntu-2204
|
||||||
# BLOCK: 1542:length(pkgs)
|
BLOCK: 1542:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
# - PLATFORM: alpine-320
|
- PLATFORM: alpine-320
|
||||||
# BLOCK: 1161:length(pkgs)
|
BLOCK: 1161:length(pkgs)
|
||||||
# ARCH: amd64
|
ARCH: amd64
|
||||||
# NCPUS: 2
|
NCPUS: 2
|
||||||
# MEMORY: 29Gi
|
MEMORY: 29Gi
|
||||||
# STRATEGY: multisession
|
STRATEGY: multisession
|
||||||
steps:
|
steps:
|
||||||
- name: 'Warming up'
|
- name: 'Warming up'
|
||||||
image: busybox:latest
|
image: busybox:latest
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@ RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Sour
|
||||||
### INSTALL R
|
### INSTALL R
|
||||||
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-${R_VERSION}-1-1.$(arch).rpm"
|
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el8/R-${R_VERSION}-1-1.$(arch).rpm"
|
||||||
RUN dnf install -q -y "R-${R_VERSION}-1-1.$(arch).rpm" && rm "R-${R_VERSION}-1-1.$(arch).rpm"
|
RUN dnf install -q -y "R-${R_VERSION}-1-1.$(arch).rpm" && rm "R-${R_VERSION}-1-1.$(arch).rpm"
|
||||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/devel/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
# we can't install pak on rhel as the bundled curl has the wrong CURL_CA_BUNDLE set (as it is only built on Ubuntu)
|
||||||
|
RUN R -q -e 'install.packages("remotes", repos = "cloud.r-project.org"); remotes::install_github("r-lib/pak")'
|
||||||
|
|
||||||
### Makevars
|
### Makevars
|
||||||
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
||||||
|
|
|
||||||
|
|
@ -30,7 +30,8 @@ RUN curl -q -L -O https://sourceforge.net/projects/mcmc-jags/files/JAGS/4.x/Sour
|
||||||
### INSTALL R
|
### INSTALL R
|
||||||
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el9/R-${R_VERSION}-1-1.$(arch).rpm"
|
RUN curl -O "https://devxy-r-builds.s3.eu-central-2.amazonaws.com/el9/R-${R_VERSION}-1-1.$(arch).rpm"
|
||||||
RUN dnf install -q -y "R-${R_VERSION}-1-1.$(arch).rpm" && rm "R-${R_VERSION}-1-1.$(arch).rpm"
|
RUN dnf install -q -y "R-${R_VERSION}-1-1.$(arch).rpm" && rm "R-${R_VERSION}-1-1.$(arch).rpm"
|
||||||
RUN R -q -e 'install.packages("pak", repos = sprintf("https://r-lib.github.io/p/pak/devel/%s/%s/%s", .Platform$pkgType, R.Version()$os, R.Version()$arch))'
|
# we can't install pak on rhel as the bundled curl has the wrong CURL_CA_BUNDLE set (as it is only built on Ubuntu)
|
||||||
|
RUN R -q -e 'install.packages("remotes", repos = "cloud.r-project.org"); remotes::install_github("r-lib/pak")'
|
||||||
|
|
||||||
### Makevars
|
### Makevars
|
||||||
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
# dbarts: CFLAGS += -flax-vector-conversions (https://github.com/vdorie/dbarts/issues/66)
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue