From ede160f08a37c3a01f5aaace044d5d659e4c2918 Mon Sep 17 00:00:00 2001 From: Jacob Wujciak-Jens Date: Mon, 13 May 2024 01:54:17 +0200 Subject: [PATCH] install cran openssl version --- dev/tasks/r/github.packages.yml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dev/tasks/r/github.packages.yml b/dev/tasks/r/github.packages.yml index 41d8b230f8bf4..ea0626b71f3db 100644 --- a/dev/tasks/r/github.packages.yml +++ b/dev/tasks/r/github.packages.yml @@ -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 @@ -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: |