@@ -230,6 +230,65 @@ local common_json = import "../common.json";
230
230
} else {},
231
231
},
232
232
233
+ graalpy:: {
234
+ packages+: if (self .os == "linux" ) then {
235
+ libffi: '>=3.2.1' ,
236
+ bzip2: '>=1.0.6' ,
237
+ maven: ">=3.3.9" ,
238
+ } else {},
239
+ },
240
+
241
+ fastr:: {
242
+ # Note: On both Linux and MacOS, FastR depends on the gnur module and on gfortran
243
+ # of a specific version (4.8.5 on Linux, 10.2.0 on MacOS)
244
+ # However, we do not need to load those modules, we only configure specific environment variables to
245
+ # point to these specific modules. These modules and the configuration is only necessary for installation of
246
+ # some R packages (that have Fortran code) and in order to run GNU-R
247
+ packages+:
248
+ if (self .os == "linux" && self .arch == "amd64" ) then {
249
+ readline: '==6.3' ,
250
+ pcre2: '==10.37' ,
251
+ curl: '>=7.50.1' ,
252
+ gnur: '==4.0.3-gcc4.8.5-pcre2' ,
253
+ }
254
+ else if (self .os == "darwin" && self .arch == "amd64" ) then {
255
+ 'pcre2' : '==10.37' ,
256
+ } else {},
257
+ environment+:
258
+ if (self .os == "linux" && self .arch == "amd64" ) then {
259
+ TZDIR: '/usr/share/zoneinfo' ,
260
+ PKG_INCLUDE_FLAGS_OVERRIDE : '-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' ,
261
+ 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/10.37/lib -L/cm/shared/apps/curl/7.50.1/lib -L/cm/shared/apps/gcc/4.8.5/lib64' ,
262
+ FASTR_FC: '/cm/shared/apps/gcc/4.8.5/bin/gfortran' ,
263
+ FASTR_CC: '/cm/shared/apps/gcc/4.8.5/bin/gcc' ,
264
+ GNUR_HOME_BINARY: '/cm/shared/apps/gnur/4.0.3_gcc4.8.5_pcre2-10.37/R-4.0.3' ,
265
+ FASTR_RELEASE: 'true' ,
266
+ }
267
+ else if (self .os == "darwin" && self .arch == "amd64" ) then {
268
+ FASTR_FC: '/cm/shared/apps/gcc/8.3.0/bin/gfortran' ,
269
+ FASTR_CC: '/cm/shared/apps/gcc/8.3.0/bin/gcc' ,
270
+ TZDIR: '/usr/share/zoneinfo' ,
271
+ 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' ,
272
+ 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' ,
273
+ FASTR_RELEASE: 'true' ,
274
+ } else {},
275
+ downloads+:
276
+ if (self .os == "linux" && self .arch == "amd64" ) then {
277
+ BLAS_LAPACK_DIR: { name: 'fastr-403-blas-lapack-gcc' , version: '4.8.5' , platformspecific: true },
278
+ F2C_BINARY: { name: 'f2c-binary' , version: '7' , platformspecific: true },
279
+ FASTR_RECOMMENDED_BINARY: { name: 'fastr-recommended-pkgs' , version: '16' , platformspecific: true },
280
+ }
281
+ else if (self .os == "darwin" && self .arch == "amd64" ) then {
282
+ BLAS_LAPACK_DIR: { name: "fastr-403-blas-lapack-gcc" , version: "8.3.0" , platformspecific: true },
283
+ F2C_BINARY: { name: 'f2c-binary' , version: '7' , platformspecific: true },
284
+ FASTR_RECOMMENDED_BINARY: { name: 'fastr-recommended-pkgs' , version: '16' , platformspecific: true },
285
+ } else {},
286
+ catch_files+: if (self .os != "windows" && self .arch == "amd64" ) then [
287
+ 'GNUR_CONFIG_LOG = (?P<filename>.+\\ .log)' ,
288
+ 'GNUR_MAKE_LOG = (?P<filename>.+\\ .log)' ,
289
+ ] else [],
290
+ },
291
+
233
292
svm:: {
234
293
packages+: {
235
294
cmake: "==3.22.2" ,
0 commit comments