Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
codes
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
38
Issues
38
List
Boards
Labels
Milestones
Merge Requests
8
Merge Requests
8
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
codes
codes
Commits
fced08b7
Commit
fced08b7
authored
Jan 07, 2016
by
Jonathan Jenkins
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
incorporate example programs into regular builds
parent
9afa57d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
20 additions
and
65 deletions
+20
-65
doc/Makefile.subdir
doc/Makefile.subdir
+20
-23
doc/example/Makefile
doc/example/Makefile
+0
-21
doc/example_heterogeneous/Makefile
doc/example_heterogeneous/Makefile
+0
-21
No files found.
doc/Makefile.subdir
View file @
fced08b7
docs_general
=
doc/BUILD_STEPS doc/GETTING_STARTED doc/RELEASE_NOTES
noinst_PROGRAMS
+=
\
doc/example/example
\
doc/example_heterogeneous/example
docs_best_practices
=
\
doc/acmsmall.cls
\
doc/algorithm.sty
\
doc/algorithmic.sty
\
doc/codes-best-practices.tex
\
doc/Makefile
doc_example_example_SOURCES
=
doc/example/example.c
doc_example_heterogeneous_example_SOURCES
=
doc/example_heterogeneous/example.c
docs_examples
=
\
doc/example/example.c
\
doc/example/example.conf
\
doc/example/Makefile
\
doc/example_heterogeneous/example.c
\
doc/example_heterogeneous/example.conf
\
doc/example_heterogeneous/example_torus.conf
\
doc/example_heterogeneous/Makefile
\
doc/example_heterogeneous/README
docs_workload
=
\
doc/workload/example.kernel.txt
\
doc/workload/meta.txt
EXTRA_DIST
+=
$(docs_general)
$(docs_best_practices)
$(docs_examples)
\
$(docs_workload)
EXTRA_DIST
+=
\
doc/BUILD_STEPS
\
doc/GETTING_STARTED
\
doc/RELEASE_NOTES
\
doc/acmsmall.cls
\
doc/algorithm.sty
\
doc/algorithmic.sty
\
doc/codes-best-practices.tex
\
doc/Makefile.best-practice
\
doc/example/example.conf
\
doc/example_heterogeneous/example.conf
\
doc/example_heterogeneous/example_torus.conf
\
doc/example_heterogeneous/README
\
doc/workload/example.kernel.txt
\
doc/workload/meta.txt
doc/example/Makefile
deleted
100644 → 0
View file @
9afa57d1
ifndef
CODESBASE
$(error
CODESBASE
is
undefined,
see
README.txt)
endif
ifndef
CODESNET
$(error
CODESNET
is
undefined,
see
README.txt)
endif
ifndef
ROSS
$(error
ROSS
is
undefined,
see
README.txt)
endif
PKG_PATH
=
$(ROSS)
/lib/pkgconfig:
$(CODESBASE)
/lib/pkgconfig:
$(CODESNET)
/lib/pkgconfig
override
CPPFLAGS
+=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--cflags
codes-net codes-base ross
)
LDFLAGS
+=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--libs-only-L
ross codes-net codes-base ross
)
LDLIBS
=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--libs-only-l
ross codes-net codes-base ross
)
CC
=
mpicc
example
:
example.c
clean
:
rm
-f
example
doc/example_heterogeneous/Makefile
deleted
100644 → 0
View file @
9afa57d1
ifndef
CODESBASE
$(error
CODESBASE
is
undefined,
see
README.txt)
endif
ifndef
CODESNET
$(error
CODESNET
is
undefined,
see
README.txt)
endif
ifndef
ROSS
$(error
ROSS
is
undefined,
see
README.txt)
endif
PKG_PATH
=
$(ROSS)
/lib/pkgconfig:
$(CODESBASE)
/lib/pkgconfig:
$(CODESNET)
/lib/pkgconfig
override
CPPFLAGS
+=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--cflags
codes-net codes-base ross
)
LDFLAGS
+=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--libs-only-L
ross codes-net codes-base ross
)
LDLIBS
=
$(
shell
PKG_CONFIG_PATH
=
$(PKG_PATH)
pkg-config
--libs-only-l
ross codes-net codes-base ross
)
CC
=
mpicc
example
:
example.c
clean
:
rm
-f
example
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