From bc4e47293dc0b33d1bf78b11003198a812c9eea9 Mon Sep 17 00:00:00 2001
From: Bine Brank <b.brank@fz-juelich.de>
Date: Mon, 4 Jan 2021 09:26:11 +0100
Subject: [PATCH] fixed fcc

---
 .gitignore                |  1 +
 run_gcc_compiler.sh       | 46 ---------------------------------------
 utilities/makefile-gen.pl |  4 ++--
 3 files changed, 3 insertions(+), 48 deletions(-)
 delete mode 100755 run_gcc_compiler.sh

diff --git a/.gitignore b/.gitignore
index 6dd4651..b6f5165 100644
--- a/.gitignore
+++ b/.gitignore
@@ -8,3 +8,4 @@ Makefile
 config.mk
 run_all.sh
 config.mk
+config.mk
diff --git a/run_gcc_compiler.sh b/run_gcc_compiler.sh
deleted file mode 100755
index 22ea45f..0000000
--- a/run_gcc_compiler.sh
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-#load armclang
-#module load Generic-AArch64/RHEL/7/arm-hpc-compiler-19.3/armpl
-
-#load gcc
-#module load GCC
-
-#load gcc
-#module load Clang
-
-#echo `which armclang`
-#echo `which gcc`
-#echo `which clang`
-
-if [ "$#" -ne 1 ]; then
-    echo "Please specify which dataset to use.";
-    exit;
-fi
-
-
-#cd utilities
-if test -f "output"; then
-    rm output 
-fi
-if test -f "output_performance"; then
-    rm output_performance 
-fi
-if test -f "datamining/correlation/Makefile"; then
-    perl utilities/clean.pl .
-fi
-# clean
-#perl utilities/clean.pl .
-
-# generate makefiles
-perl utilities/makefile-gen.pl $1 -cfg
-
-# generate headers
-perl utilities/header-gen.pl . 
-
-# compile
-#perl ./run-all.pl .. | tee /dev/tty | grep -E 'vectorized|clang|gcc|#' | grep -vE '(^rm)|(^cd)' > ../vectorization_summary
-
-perl utilities/run-all.pl . $1 | tee output
-
-grep "Gflop/s" output | tee output_performance
diff --git a/utilities/makefile-gen.pl b/utilities/makefile-gen.pl
index 9de972f..d63885f 100644
--- a/utilities/makefile-gen.pl
+++ b/utilities/makefile-gen.pl
@@ -151,7 +151,7 @@ open FILE, '>'.$TARGET_DIR.'/config.mk';
 
 print FILE << "EOF";
 asdfCFLAGS=/scratch/gem5_utils/libm5.a -march=armv8-a+sve -O3 -ffp-contract=fast -static -lpthread -DUSEM5OPS -I/scratch/gem5_utils -DPOLYBENCH_NO_FLUSH_CACHE -DREPEATKERNEL
-CFLAGS=-march=armv8-a+sve -O3 -ffast-math -ffp-contract=fast -static -lpthread -DALTERSVELENGTH
+CFLAGS=-march=armv8-a+sve -O3 -ffp-contract=fast -static -lpthread -DALTERSVELENGTH
 
 NOVEC_GCC=-fno-tree-vectorize
 NOVEC_CLANG=-fno-vectorize
@@ -165,7 +165,7 @@ ARMCLANG=armclang
 ARMCLANGREPORTFLAGS= -Rpass=loop-vectorize
 CLANG=clang
 CLANGREPORTFLAGS= -Rpass=loop-vectorize 
-FCC=fccpx -NCLANG
+FCC=fccpx -Nclang
 
 
 EOF
-- 
GitLab