Fix missing PCRE2 dependency in R 3.x builds for RHEL 9
This commit is contained in:
parent
6705d0334c
commit
f66f829e57
1 changed files with 6 additions and 5 deletions
|
|
@ -4,10 +4,11 @@ if [[ ! -d /tmp/output/${OS_IDENTIFIER} ]]; then
|
|||
mkdir -p "/tmp/output/${OS_IDENTIFIER}"
|
||||
fi
|
||||
|
||||
# R 3.x requires PCRE1
|
||||
pcre_lib='pcre2-devel'
|
||||
# R 3.x requires PCRE1. On RHEL 9, R 3.x also requires PCRE2 for Pango support.
|
||||
pcre_libs='- pcre2-devel'
|
||||
if [[ "${R_VERSION}" =~ ^3 ]]; then
|
||||
pcre_lib='pcre-devel'
|
||||
pcre_libs='- pcre2-devel
|
||||
- pcre-devel'
|
||||
fi
|
||||
|
||||
# Create post-install script required for OpenBLAS.
|
||||
|
|
@ -64,7 +65,7 @@ depends:
|
|||
- make
|
||||
- openblas-devel
|
||||
- pango
|
||||
- ${pcre_lib}
|
||||
${pcre_libs}
|
||||
- tcl
|
||||
- tk
|
||||
- unzip
|
||||
|
|
|
|||
Loading…
Reference in a new issue