Skip to content

Commit

Permalink
install cran openssl version
Browse files Browse the repository at this point in the history
  • Loading branch information
assignUser committed May 12, 2024
1 parent 9a3973c commit ede160f
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions dev/tasks/r/github.packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,11 @@ jobs:
working-directory: 'arrow'
extra-packages: cpp11
- name: Set CRAN like openssl
if: contains(matrix.platform.name, 'arm64')
if: startsWith('macos', matrix.platform.runs_on)
run: |
# The arm64 runners contain openssl 1.1.1t in this path that is always included first so we need to override the
# default setting of the brew --prefix as root dir to avoid version conflicts.
# get the mac-recipes version of openssl from CRAN
Rscript -e 'source("https://mac.R-project.org/bin/install.R"); install.libs("openssl")'
# override our cmakes default setting of the brew --prefix as root dir to avoid version conflicts.
echo "OPENSSL_ROOT_DIR=/opt/R/arm64" >> $GITHUB_ENV
- name: Build Binary
id: build
Expand All @@ -239,6 +240,7 @@ jobs:
NOT_CRAN: "false" # actions/setup-r sets this implicitly
ARROW_R_DEV: "true"
LIBARROW_BINARY: "true" # has to be set as long as allowlist not updated
LIBARROW_BUILD: "false"
ARROW_R_ENFORCE_CHECKSUM: "true"
ARROW_R_CHECKSUM_PATH: "{{ '${{ github.workspace }}' }}/repo/libarrow/bin"
run: |
Expand Down

0 comments on commit ede160f

Please sign in to comment.