Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Development
openfoam
Commits
eb2e37b2
Commit
eb2e37b2
authored
Jan 06, 2009
by
mattijs
Browse files
SiCortex port
parent
bbed85ab
Changes
17
Hide whitespace changes
Inline
Side-by-side
applications/utilities/mesh/manipulation/setSet/writeFuns.C
View file @
eb2e37b2
...
...
@@ -28,7 +28,7 @@ Description
#include
"writeFuns.H"
#ifdef
__mips
#if
def
ined(
__mips
) && !defined(__SICORTEX__)
#include
<standards.h>
#include
<sys/endian.h>
#endif
...
...
applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C
View file @
eb2e37b2
...
...
@@ -27,7 +27,7 @@ License
#include
"writeFuns.H"
#include
"vtkTopo.H"
#ifdef
__mips
#if
def
ined(
__mips
) && !defined(__SICORTEX__)
#include
<standards.h>
#include
<sys/endian.h>
#endif
...
...
etc/bashrc
View file @
eb2e37b2
...
...
@@ -142,6 +142,16 @@ Linux)
WM_ARCH
=
linuxIA64
export
WM_COMPILER
=
I64
;;
mips64
)
WM_ARCH
=
SiCortex64
export
WM_COMPILER_LIB_ARCH
=
64
export
WM_CC
=
'gcc'
export
WM_CXX
=
'g++'
export
WM_CFLAGS
=
'-mabi=64 -fPIC'
export
WM_CXXFLAGS
=
'-mabi=64 -fPIC'
export
WM_LDFLAGS
=
'-mabi=64 -G0'
export
WM_MPLIB
=
MPI
;;
*
)
echo
Unknown processor
type
`
uname
-m
`
for
Linux
;;
...
...
etc/cshrc
View file @
eb2e37b2
...
...
@@ -139,6 +139,16 @@ case Linux:
setenv WM_ARCH linuxIA64
setenv WM_COMPILER I64
breaksw
mips64
)
setenv WM_ARCH SiCortex64
setenv WM_COMPILER_LIB_ARCH 64
setenv WM_CC
'gcc'
setenv WM_CXX
'g++'
setenv WM_CFLAGS
'-mabi=64 -fPIC'
setenv WM_CXXFLAGS
'-mabi=64 -fPIC'
setenv WM_LDFLAGS
'-mabi=64 -G0'
setenv WM_MPLIB MPI
;;
default:
echo
Unknown processor
type
`
uname
-m
`
for
Linux
breaksw
...
...
wmake/rules/SiCortex64Gcc/X
0 → 100644
View file @
eb2e37b2
XFLAGS =
XINC = $(XFLAGS) -I/usr/X11R6/include
XLIBS = -L/usr/X11R6/lib64 -lXext -lX11
wmake/rules/SiCortex64Gcc/c
0 → 100644
View file @
eb2e37b2
.SUFFIXES: .c .h
cWARN = -Wall
cc = gcc -mabi=64
#cc = scgcc -mabi=64
include $(RULES)/c$(WM_COMPILE_OPTION)
cFLAGS = -G0 $(GFLAGS) $(cWARN) $(cOPT) $(cDBUG) $(LIB_HEADER_DIRS) -fPIC
ctoo = $(WM_SCHEDULER) $(cc) $(cFLAGS) -c $$SOURCE -o $@
LINK_LIBS = $(cDBUG)
LINKLIBSO = $(cc) -shared
LINKEXE = $(cc) -Xlinker -z -Xlinker nodefs
wmake/rules/SiCortex64Gcc/c++
0 → 100644
View file @
eb2e37b2
.SUFFIXES: .C .cxx .cc .cpp
c++WARN = -Wall -Wno-strict-aliasing -Wextra -Wno-unused-parameter -Wold-style-cast
CC = g++ -mabi=64
#CC = scg++ -mabi=64
include $(RULES)/c++$(WM_COMPILE_OPTION)
ptFLAGS = -DNoRepository -ftemplate-depth-40
c++FLAGS = -G0 $(GFLAGS) $(c++WARN) $(c++OPT) $(c++DBUG) $(ptFLAGS) $(LIB_HEADER_DIRS) -fPIC
Ctoo = $(WM_SCHEDULER) $(CC) $(c++FLAGS) -c $$SOURCE -o $@
cxxtoo = $(Ctoo)
cctoo = $(Ctoo)
cpptoo = $(Ctoo)
LINK_LIBS = $(c++DBUG)
LINKLIBSO = $(CC) $(c++FLAGS) -shared
LINKEXE = $(CC) $(c++FLAGS)
wmake/rules/SiCortex64Gcc/c++Debug
0 → 100644
View file @
eb2e37b2
c++DBUG = -ggdb3 -DFULLDEBUG
c++OPT = -O0 -fdefault-inline
wmake/rules/SiCortex64Gcc/c++Opt
0 → 100644
View file @
eb2e37b2
c++DBUG =
c++OPT = -O3
#c++OPT = -O3
# -ftree-vectorize -ftree-vectorizer-verbose=3
wmake/rules/SiCortex64Gcc/c++Prof
0 → 100644
View file @
eb2e37b2
c++DBUG = -pg
c++OPT = -O2
wmake/rules/SiCortex64Gcc/cDebug
0 → 100644
View file @
eb2e37b2
cDBUG = -ggdb -DFULLDEBUG
cOPT = -O1 -fdefault-inline -finline-functions
wmake/rules/SiCortex64Gcc/cOpt
0 → 100644
View file @
eb2e37b2
cDBUG =
cOPT = -O3 -fno-gcse
wmake/rules/SiCortex64Gcc/cProf
0 → 100644
View file @
eb2e37b2
cDBUG = -pg
cOPT = -O2
wmake/rules/SiCortex64Gcc/flex++
0 → 100644
View file @
eb2e37b2
.SUFFIXES: .L
Ltoo = flex --c++ -f $$SOURCE ; mv lex.yy.cc $*.C ; $(CC) $(c++FLAGS) -c $*.C -o $@
.L.dep:
$(MAKE_DEP)
wmake/rules/SiCortex64Gcc/general
0 → 100644
View file @
eb2e37b2
CPP = /lib/cpp $(GFLAGS)
LD = ld -A64
PROJECT_LIBS = -l$(WM_PROJECT) -liberty -ldl
include $(GENERAL_RULES)/standard
include $(RULES)/X
include $(RULES)/c
include $(RULES)/c++
include $(GENERAL_RULES)/cint
wmake/rules/SiCortex64Gcc/mplib
0 → 100644
View file @
eb2e37b2
PFLAGS =
PINC =
PLIBS =
wmake/rules/SiCortex64Gcc/mplibMPI
0 → 100644
View file @
eb2e37b2
PFLAGS = -DMPICH_SKIP_MPICXX
PINC =
PLIBS = -lscmpi
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment