From: Benjamin Auder Date: Mon, 16 Dec 2019 18:24:55 +0000 (+0100) Subject: Add Makevars for cluster X-Git-Url: https://git.auder.net/app_dev.php/_configurator?a=commitdiff_plain;h=ace9e911ba9d870774a2687b53f100071b189113;p=morpheus.git Add Makevars for cluster --- diff --git a/pkg/src/Makevars_cluster b/pkg/src/Makevars_cluster new file mode 100644 index 0000000..76af5c4 --- /dev/null +++ b/pkg/src/Makevars_cluster @@ -0,0 +1,4 @@ +# Override R weird defaults: +# https://stackoverflow.com/questions/23414448/r-makevars-file-to-overwrite-r-cmds-default-g-options +%.o: %.c + gcc -I"/usr/local/R/3.6.1/lib64/R/include" -DNDEBUG -I/usr/local/include -fpic -O2 -c $< -o $@