summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/charmpp/fj.patch
blob: d5df680c0c25f7d567bfe2e26f59abbdd64dfb7f (plain) (blame)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
diff --git a/src/arch/netlrts-linux-arm8/cc-fcc.h b/src/arch/netlrts-linux-arm8/cc-fcc.h
new file mode 100644
index 000000000..f25b2250a
--- /dev/null
+++ b/src/arch/netlrts-linux-arm8/cc-fcc.h
@@ -0,0 +1,6 @@
+#undef CMK_DLL_CC
+
+#undef  CMK_COMPILEMODE_ORIG
+#undef  CMK_COMPILEMODE_ANSI
+#define CMK_COMPILEMODE_ORIG                               1
+#define CMK_COMPILEMODE_ANSI                               0
diff --git a/src/arch/netlrts-linux-arm8/cc-fcc.sh b/src/arch/netlrts-linux-arm8/cc-fcc.sh
new file mode 100644
index 000000000..0efdc417e
--- /dev/null
+++ b/src/arch/netlrts-linux-arm8/cc-fcc.sh
@@ -0,0 +1,15 @@
+# Assumes Fujitsu C/C++ compiler:
+CMK_CPP_CHARM="cpp -P"
+CMK_CPP_C="fcc$CMK_COMPILER_SUFFIX"
+CMK_CC="fcc$CMK_COMPILER_SUFFIX"
+CMK_LD="fcc$CMK_COMPILER_SUFFIX"
+CMK_CXX="FCC$CMK_COMPILER_SUFFIX"
+CMK_LDXX="FCC$CMK_COMPILER_SUFFIX"
+
+CMK_CPP_C_FLAGS="-E"
+
+CMK_PIC='' # empty string: will be reset to default by conv-config.sh
+CMK_PIE='-fPIE'
+
+CMK_COMPILER='fcc'
+CMK_WARNINGS_ARE_ERRORS="-Werror"
diff --git a/src/arch/netlrts-linux-arm8/conv-mach-frt.h b/src/arch/netlrts-linux-arm8/conv-mach-frt.h
new file mode 100644
index 000000000..d1ab56ad5
--- /dev/null
+++ b/src/arch/netlrts-linux-arm8/conv-mach-frt.h
@@ -0,0 +1 @@
+/* This file intentionally left blank */
diff --git a/src/arch/netlrts-linux-arm8/conv-mach-frt.sh b/src/arch/netlrts-linux-arm8/conv-mach-frt.sh
new file mode 100644
index 000000000..1de93a5ed
--- /dev/null
+++ b/src/arch/netlrts-linux-arm8/conv-mach-frt.sh
@@ -0,0 +1,15 @@
+CMK_CF90="frt"
+
+CMK_FPP="$CMK_CF90 -Ccpp"
+
+CMK_CF90_FIXED="$CMK_CF90 -Fixed "
+
+CMK_F90LIBS="-lfj90i -lfj90f -lfjsrcinfo -lfjsrcinfo -lelf"
+
+CMK_CF77=$CMK_CF90
+CMK_F77LIBS=$CMK_F90LIBS
+
+CMK_MOD_NAME_ALLCAPS=
+CMK_MOD_EXT="mod"
+CMK_F90_USE_MODDIR=1
+CMK_F90_MODINC="-I"