-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathparsec_gc_fix.diff
30 lines (29 loc) · 1.02 KB
/
parsec_gc_fix.diff
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
diff --git a/config/gcc.bldconf b/config/gcc.bldconf
index 0045867b..e17df86f 100644
--- a/config/gcc.bldconf
+++ b/config/gcc.bldconf
@@ -39,8 +39,8 @@ export RANLIB="${TARGET_CROSS}ranlib"
export STRIP="${TARGET_CROSS}strip"
# Arguments to use
-export CFLAGS=" $CFLAGS"
-export CXXFLAGS="$CXXFLAGS -fpermissive -fno-exceptions -std=c++17"
+export CFLAGS=" $CFLAGS -O3 "
+export CXXFLAGS="$CXXFLAGS -O3 -fpermissive -fno-exceptions -std=c++17"
export CPPFLAGS=""
export CXXCPPFLAGS="s"
export LIBS="$GC_Kernel"
diff --git a/get-inputs b/get-inputs
index 8b395c33..5143ba2f 100755
--- a/get-inputs
+++ b/get-inputs
@@ -15,7 +15,9 @@ done
shift "$(($OPTIND - 1))"
download_dir="${1:-.}"
outdir="${2:-.}"
-url_base=http://parsec.cs.princeton.edu/download/3.0
+# The princeton link died, using another repo from github
+# url_base=http://parsec.cs.princeton.edu/download/3.0
+url_base=https://github.com/cirosantilli/parsec-benchmark/releases/download/3.0
basenames=''
basenames="$basenames parsec-3.0-core.tar.gz"
if "$sim"; then