Added support for vmi-linux-amd64.
authorGreg Koenig <koenig@uiuc.edu>
Sat, 18 Mar 2006 07:25:39 +0000 (07:25 +0000)
committerGreg Koenig <koenig@uiuc.edu>
Sat, 18 Mar 2006 07:25:39 +0000 (07:25 +0000)
src/arch/vmi-linux-x86_64/conv-mach.h [new file with mode: 0644]
src/arch/vmi-linux-x86_64/conv-mach.sh [new file with mode: 0644]

diff --git a/src/arch/vmi-linux-x86_64/conv-mach.h b/src/arch/vmi-linux-x86_64/conv-mach.h
new file mode 100644 (file)
index 0000000..eeddcfc
--- /dev/null
@@ -0,0 +1,15 @@
+#ifndef _CONV_MACH_H
+#define _CONV_MACH_H
+
+#define CMK_AMD64                                          1
+
+#define CMK_MEMORY_PAGESIZE                                8192
+
+#define CMK_THREADS_USE_CONTEXT                            0
+#define CMK_THREADS_COPY_STACK                             0
+#define CMK_THREADS_USE_PTHREADS                           0
+#define CMK_THREADS_ARE_WIN32_FIBERS                       0
+
+#define CMK_THREADS_REQUIRE_NO_CPV                         0
+
+#endif
diff --git a/src/arch/vmi-linux-x86_64/conv-mach.sh b/src/arch/vmi-linux-x86_64/conv-mach.sh
new file mode 100644 (file)
index 0000000..357ada5
--- /dev/null
@@ -0,0 +1,20 @@
+VMI_DIR="/usr/local/vmi-2.1.0-1-gcc"
+#
+VMI_INCDIR="-I$VMI_DIR/include" 
+VMI_LIBDIR="-L$VMI_DIR/lib"
+#
+CMK_CPP_CHARM="/lib/cpp -P "
+CMK_CPP_C="gcc -E -m64 -DNO_LOCK $CMK_INCDIR $VMI_INCDIR "
+CMK_CC="gcc -fPIC -m64 -DNO_LOCK $CMK_INCDIR $VMI_INCDIR "
+CMK_CXX="g++ -fPIC -m64 -DNO_LOCK $CMK_INCDIR $VMI_INCDIR "
+CMK_CXXPP="$CMK_CC -x c++ -E -m64 -DNO_LOCK "
+CMK_CF77="f77 "
+CMK_CF90="f90 "
+CMK_LD="$CMK_CC -rdynamic -pthread -Wl,-rpath,$VMI_DIR/lib $VMI_LIBDIR "
+CMK_LDXX="$CMK_CXX -rdynamic -pthread -Wl,-rpath,$VMI_DIR/lib $VMI_LIBDIR "
+CMK_RANLIB='ranlib'
+CMK_LIBS='-lckqt -lvmi20 -lcurl -ldl -lexpat -lssl -lcrypto'
+CMK_QT='generic64'
+CMK_XIOPTS=''
+CMK_F90LIBS='-lvast90 -lg2c'
+CMK_MOD_EXT="vo"