Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
easea
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Arnaud Kress
easea
Commits
288f8617
Commit
288f8617
authored
Oct 13, 2010
by
Frédéric Krüger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Modification du makefile des TPL
parent
03fc2b90
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
18 additions
and
36 deletions
+18
-36
tpl/CMAES.tpl
tpl/CMAES.tpl
+5
-14
tpl/CUDA.tpl
tpl/CUDA.tpl
+4
-4
tpl/CUDA_MEM.tpl
tpl/CUDA_MEM.tpl
+4
-4
tpl/STD_MEM.tpl
tpl/STD_MEM.tpl
+5
-14
No files found.
tpl/CMAES.tpl
View file @
288f8617
...
...
@@ -450,32 +450,23 @@ public:
UNAME
:=
$(shell
uname
)
#ifeq
($(
UNAME
),
Darwin
)
EASEALIB_PATH=
$(EZ_PATH)libeasea/
#else
#EASEALIB_PATH
=\
EZ_PATHlibeasea
/
#endif
ifeq
($(
UNAME
),
Darwin
)
CXXFLAGS =
-O2
-g
-Wall
-fmessage-length=
0
-I
$(
EASEALIB_PATH
)
include
-I
$(
EZ_PATH
)
boost
else
CXXFLAGS =
-O2
-g
-Wall
-fmessage-length=
0
-I
$(
EASEALIB_PATH
)
include
endif
#USER
MAKEFILE
OPTIONS
:
\
INSERT_MAKEFILE_OPTION#END
OF
USER
MAKEFILE
OPTIONS
OBJS =
EASEA.o
EASEAIndividual.o
ifeq
($(
UNAME
),
Darwin
)
LIBS =
$(EZ_PATH)boost/program_options.a
else
LIBS =
-lboost_program_options
-lpthread
endif
LIBS =
-lpthread
\
INSERT_MAKEFILE_OPTION
TARGET =
EASEA
$(
TARGET
)
:
$(
OBJS
)
$(
CXX
)
-o
$(
TARGET
)
$(
OBJS
)
$(
LIBS
)
-g
$(
EASEALIB_PATH
)
libeasea.a
$(
CXX
)
-o
$(
TARGET
)
$(
OBJS
)
$(
LIBS
)
-g
$(
EASEALIB_PATH
)
libeasea.a
$(
EZ_PATH
)
boost
/
program_options.a
#
%.
o:
%.
cpp
...
...
tpl/CUDA.tpl
View file @
288f8617
...
...
@@ -657,14 +657,14 @@ public:
\
START_CUDA_MAKEFILE_TPL
NVCC=
nvcc
CPPC=
g++
LIBAESAE=
\EZ_PATH
libeasea/
CXXFLAGS
+=
-g
-Wall
-O2
-I
$(
LIBAESAE
)
include
LDFLAGS=
-lboost_program_options
$(
LIBAESAE
)
libeasea.a
-lpthread
LIBAESAE=
$(EZ_PATH)
libeasea/
CXXFLAGS
+=
-g
-Wall
-O2
-I
$(
LIBAESAE
)
include
-I
$(
EZ_PATH
)
boost
LDFLAGS=
$(EZ_PATH)boost/program_options.a
$(
LIBAESAE
)
libeasea.a
-lpthread
#USER
MAKEFILE
OPTIONS
:
\
INSERT_MAKEFILE_OPTION#END
OF
USER
MAKEFILE
OPTIONS
CPPFLAGS
+=
-I
$(
LIBAESAE
)
include
-I
/
usr
/
local
/
cuda
/
include
/
CPPFLAGS
+=
-I
$(
LIBAESAE
)
include
-I
$(
EZ_PATH
)
boost
NVCCFLAGS
+=
...
...
tpl/CUDA_MEM.tpl
View file @
288f8617
...
...
@@ -749,14 +749,14 @@ public:
\
START_CUDA_MAKEFILE_TPL
NVCC=
nvcc
CPPC=
g++
LIBAESAE=
\EZ_PATH
libeasea/
CXXFLAGS
+=
-g
-Wall
-O2
-I
$(
LIBAESAE
)
include
LDFLAGS=
-lboost_program_options
$(
LIBAESAE
)
libeasea.a
-lpthread
LIBAESAE=
$(EZ_PATH)
libeasea/
CXXFLAGS
+=
-g
-Wall
-O2
-I
$(
LIBAESAE
)
include
-I
$(
EZ_PATH
)
boost
LDFLAGS=
$(EZ_PATH)boost/program_options.a
$(
LIBAESAE
)
libeasea.a
-lpthread
#USER
MAKEFILE
OPTIONS
:
\
INSERT_MAKEFILE_OPTION#END
OF
USER
MAKEFILE
OPTIONS
CPPFLAGS
+=
-I
$(
LIBAESAE
)
include
CPPFLAGS
+=
-I
$(
LIBAESAE
)
include
-I
$(
EZ_PATH
)
boost
NVCCFLAGS
+=
...
...
tpl/STD_MEM.tpl
View file @
288f8617
...
...
@@ -484,30 +484,21 @@ public:
UNAME
:=
$(shell
uname
)
#ifeq
($(
UNAME
),
Darwin
)
EASEALIB_PATH=
$(EZ_PATH)libeasea/
#else
#EASEALIB_PATH
=\
EZ_PATHlibeasea
/
#endif
ifeq
($(
UNAME
),
Darwin
)
CXXFLAGS =
-O2
-g
-Wall
-fmessage-length=
0
-I
$(
EASEALIB_PATH
)
include
-I
$(
EZ_PATH
)
boost
else
CXXFLAGS =
-O2
-g
-Wall
-fmessage-length=
0
-I
$(
EASEALIB_PATH
)
include
endif
#USER
MAKEFILE
OPTIONS
:
\
INSERT_MAKEFILE_OPTION#END
OF
USER
MAKEFILE
OPTIONS
OBJS =
EASEA.o
EASEAIndividual.o
ifeq
($(
UNAME
),
Darwin
)
LIBS =
$(EZ_PATH)boost/program_options.a
else
LIBS =
-lboost_program_options
-lpthread
endif
LIBS =
-lpthread
TARGET =
EASEA
$(
TARGET
)
:
$(
OBJS
)
$(
CXX
)
-o
$(
TARGET
)
$(
OBJS
)
$(
LIBS
)
-g
$(
EASEALIB_PATH
)
libeasea.a
$(
CXX
)
-o
$(
TARGET
)
$(
OBJS
)
$(
LIBS
)
-g
$(
EASEALIB_PATH
)
libeasea.a
$(
EZ_PATH
)
boost
/
program_options.a
#
%.
o:
%.
cpp
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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