Skip to content

Commit

Permalink
[GR-33295] Upgrade PCRE to PCRE2 10.37.
Browse files Browse the repository at this point in the history
PullRequest: graal/9797
  • Loading branch information
Pavel Marek committed Sep 19, 2021
2 parents b9d7ec2 + 7d2ec3a commit 80d1d65
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 10 deletions.
20 changes: 11 additions & 9 deletions vm/ci_common/common.hocon
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,24 @@ fastr: {
F2C_BINARY: { name: "f2c-binary", version: "7", platformspecific: true },
FASTR_RECOMMENDED_BINARY: { name: "fastr-recommended-pkgs", version: "12", platformspecific: true },
}
catch_files: ${common.catch_files} [
"GNUR_CONFIG_LOG = (?P<filename>.+\\.log)",
"GNUR_MAKE_LOG = (?P<filename>.+\\.log)",
]
}

fastr_linux: ${fastr} {
packages: {
readline: "==6.3",
pcre: "==8.43",
pcre2: "==10.37",
zlib: ">=1.2.11",
curl: ">=7.50.1",
gnur: "==4.0.3-gcc4.8.5-pcre8.42"
}
environment: {
TZDIR: "/usr/share/zoneinfo"
PKG_INCLUDE_FLAGS_OVERRIDE : "-I/cm/shared/apps/zlib/1.2.11/include -I/cm/shared/apps/bzip2/1.0.6/include -I/cm/shared/apps/xz/5.2.2/include -I/cm/shared/apps/pcre/8.43/include -I/cm/shared/apps/curl/7.50.1/include"
PKG_LDFLAGS_OVERRIDE : "-L/cm/shared/apps/zlib/1.2.11/lib -L/cm/shared/apps/bzip2/1.0.6/lib -L/cm/shared/apps/xz/5.2.2/lib -L/cm/shared/apps/pcre/8.43/lib -L/cm/shared/apps/curl/7.50.1/lib -L/cm/shared/apps/gcc/4.8.5/lib64"
GNUR_HOME_BINARY: "/cm/shared/apps/gnur/4.0.3-gcc4.8.5-pcre8.42/lib64/R",
PKG_INCLUDE_FLAGS_OVERRIDE : "-I/cm/shared/apps/zlib/1.2.11/include -I/cm/shared/apps/bzip2/1.0.6/include -I/cm/shared/apps/xz/5.2.2/include -I/cm/shared/apps/pcre2/10.37/include -I/cm/shared/apps/curl/7.50.1/include"
PKG_LDFLAGS_OVERRIDE : "-L/cm/shared/apps/zlib/1.2.11/lib -L/cm/shared/apps/bzip2/1.0.6/lib -L/cm/shared/apps/xz/5.2.2/lib -L/cm/shared/apps/pcre2/10.37/lib -L/cm/shared/apps/curl/7.50.1/lib -L/cm/shared/apps/gcc/4.8.5/lib64"
FASTR_FC: "/cm/shared/apps/gcc/4.8.5/bin/gfortran"
}
downloads: {
Expand All @@ -133,17 +136,16 @@ fastr_linux: ${fastr} {

fastr_darwin: ${fastr} {
packages: {
"pcre": "==8.43",
"gnur": "==4.0.3-gcc10.2-pcre8.42"
"pcre2": "==10.37",
}
environment: {
PATH : "/usr/local/bin:$JAVA_HOME/bin:$PATH"
FASTR_FC: "/cm/shared/apps/gcc/8.3.0/bin/gfortran"
GNUR_FC: "/cm/shared/apps/gcc/8.3.0/bin/gfortran"
TZDIR: "/usr/share/zoneinfo"
FASTR_LIBZ_VER: "1.2.11"
GNUR_HOME_BINARY: "/cm/shared/apps/gnur/4.0.3-gcc10.2-pcre8.42/lib/R/"
PKG_INCLUDE_FLAGS_OVERRIDE : "-I/cm/shared/apps/pcre/8.43/include -I/cm/shared/apps/bzip2/1.0.6/include -I/cm/shared/apps/xz/5.2.2/include -I/cm/shared/apps/curl/7.50.1/include"
PKG_LDFLAGS_OVERRIDE : "-L/cm/shared/apps/bzip2/1.0.6/lib -L/cm/shared/apps/xz/5.2.2/lib -L/cm/shared/apps/pcre/8.43/lib -L/cm/shared/apps/curl/7.50.1/lib -L/cm/shared/apps/gcc/10.2.0/lib -L/usr/lib"
PKG_INCLUDE_FLAGS_OVERRIDE : "-I/cm/shared/apps/pcre2/pcre2-10.37/include -I/cm/shared/apps/bzip2/1.0.6/include -I/cm/shared/apps/xz/5.2.2/include -I/cm/shared/apps/curl/7.50.1/include"
PKG_LDFLAGS_OVERRIDE : "-L/cm/shared/apps/bzip2/1.0.6/lib -L/cm/shared/apps/xz/5.2.2/lib -L/cm/shared/apps/pcre2/pcre2-10.37/lib -L/cm/shared/apps/curl/7.50.1/lib -L/cm/shared/apps/gcc/10.2.0/lib -L/usr/lib"
}
downloads: {
BLAS_LAPACK_DIR: { name: "fastr-403-blas-lapack-gcc", version: "8.3.0", platformspecific: true },
Expand Down
2 changes: 1 addition & 1 deletion vm/mx.vm/suite.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
},
{
"name": "fastr",
"version": "8ba07c8628827fb1ea06829f81f3f6baef3dd07f",
"version": "c761a6e10ca86dc81cccc9840a3927b5dcda2ae1",
"dynamic": True,
"urls": [
{"url": "https://github.com/oracle/fastr.git", "kind": "git"},
Expand Down

0 comments on commit 80d1d65

Please sign in to comment.