untested elan-linux for testing.
authorGengbin Zheng <gzheng@illinois.edu>
Mon, 29 Sep 2003 19:08:04 +0000 (19:08 +0000)
committerGengbin Zheng <gzheng@illinois.edu>
Mon, 29 Sep 2003 19:08:04 +0000 (19:08 +0000)
src/arch/elan-linux-ia64/conv-mach.h [new file with mode: 0644]
src/arch/elan-linux-ia64/conv-mach.sh [new file with mode: 0644]

diff --git a/src/arch/elan-linux-ia64/conv-mach.h b/src/arch/elan-linux-ia64/conv-mach.h
new file mode 100644 (file)
index 0000000..8180b88
--- /dev/null
@@ -0,0 +1,70 @@
+/*****************************************************************************
+ * $Source$
+ * $Author$
+ * $Date$
+ * $Revision$
+ *****************************************************************************/
+
+#ifndef _CONV_MACH_H
+#define _CONV_MACH_H
+
+
+#define CMK_DLL_CC   "g++ -shared -O3 -o "
+
+#define CMK_GETPAGESIZE_AVAILABLE                          1
+
+#define CMK_MALLOC_USE_GNU_MALLOC                          0
+#define CMK_MALLOC_USE_OS_BUILTIN                          1
+
+#define CMK_MEMORY_PAGESIZE                                8192
+#define CMK_MEMORY_PROTECTABLE                             1
+
+#define CMK_NODE_QUEUE_AVAILABLE                           0
+
+#define CMK_SHARED_VARS_EXEMPLAR                           0
+#define CMK_SHARED_VARS_UNAVAILABLE                        1
+#define CMK_SHARED_VARS_SUN_THREADS                        0
+#define CMK_SHARED_VARS_UNIPROCESSOR                       0
+
+#define CMK_SIGNAL_NOT_NEEDED                              0
+#define CMK_SIGNAL_USE_SIGACTION                           1
+#define CMK_SIGNAL_USE_SIGACTION_WITH_RESTART              0
+
+#define CMK_THREADS_USE_PTHREADS                           0
+#define CMK_THREADS_REQUIRE_NO_CPV                         0
+#define CMK_THREADS_USE_CONTEXT                            0
+#define CMK_STACK_GROWUP                                   1
+
+#define CMK_TIMER_USE_RDTSC                                1
+#define CMK_TIMER_USE_GETRUSAGE                            0
+#define CMK_TIMER_USE_SPECIAL                              0
+#define CMK_TIMER_USE_TIMES                                0
+
+#define CMK_TYPEDEF_INT2 short
+#define CMK_TYPEDEF_INT4 int
+#define CMK_TYPEDEF_INT8 long long
+#define CMK_TYPEDEF_UINT2 unsigned short
+#define CMK_TYPEDEF_UINT4 unsigned int
+#define CMK_TYPEDEF_UINT8 unsigned long long
+#define CMK_TYPEDEF_FLOAT4 float
+#define CMK_TYPEDEF_FLOAT8 double
+
+#define CMK_WAIT_NOT_NEEDED                                0
+#define CMK_WAIT_USES_SYS_WAIT_H                           1
+#define CMK_WAIT_USES_WAITFLAGS_H                          0
+
+#define CMK_WHEN_PROCESSOR_IDLE_BUSYWAIT                   0
+#define CMK_WHEN_PROCESSOR_IDLE_USLEEP                     1
+
+
+#define CMK_COMPILEMODE_ORIG                               0
+#define CMK_COMPILEMODE_ANSI                               1
+
+#define CMK_WEB_MODE                                       1
+#define CMK_DEBUG_MODE                                     0
+
+#define CMK_LBDB_ON                                       1
+
+
+#endif
+
diff --git a/src/arch/elan-linux-ia64/conv-mach.sh b/src/arch/elan-linux-ia64/conv-mach.sh
new file mode 100644 (file)
index 0000000..663fae7
--- /dev/null
@@ -0,0 +1,15 @@
+CMK_CPP_CHARM='/lib/cpp -P'
+CMK_CPP_C='gcc -E'
+CMK_CC='gcc '
+CMK_CXX='g++ '
+CMK_CXXPP="$CMK_CXX -x c++ -E  "
+CMK_CF77='f77'
+CMK_CF90='f90'
+CMK_RANLIB='ranlib'
+CMK_LIBS='-lckqt -lelan'
+CMK_LD_SHARED="-shared"
+CMK_LD_LIBRARY_PATH="-Wl,-rpath,$CHARMLIBSO/"
+CMK_QT='generic'
+CMK_XIOPTS='-ansi'
+CMK_F90LIBS='-lUfor -lfor -lFutil'
+CMK_MOD_EXT="mod"