Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
openfpm_devices
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Sbalzarini Lab
Software
Parallel Computing
OpenFPM
openfpm_devices
Commits
ff985a1e
Commit
ff985a1e
authored
9 years ago
by
Pietro Incardona
Browse files
Options
Downloads
Patches
Plain Diff
Supporting make install
parent
b9f45491
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure.ac
+7
-0
7 additions, 0 deletions
configure.ac
src/Makefile.am
+8
-1
8 additions, 1 deletion
src/Makefile.am
with
15 additions
and
1 deletion
configure.ac
+
7
−
0
View file @
ff985a1e
...
...
@@ -18,6 +18,13 @@ CXXFLAGS+=" --std=c++11 -march=native -mtune=native -Wno-unused-local-typedefs -
NVCCFLAGS=" "
INCLUDES_PATH=" -Iconfig "
# Add openfpm_pdata to prefix forlder
prefix="$prefix/openfpm_devices"
echo "Installation dir is: $prefix"
AC_PROG_RANLIB
AM_PROG_AR
# Checks for programs.
AC_PROG_CXX
...
...
This diff is collapsed.
Click to expand it.
src/Makefile.am
+
8
−
1
View file @
ff985a1e
...
...
@@ -7,11 +7,18 @@ else
CUDA_SOURCES
=
endif
bin
_PROGRAMS
=
mem
noinst
_PROGRAMS
=
mem
mem_SOURCES
=
main.cpp memory/HeapMemory.cpp
$(
CUDA_SOURCES
)
mem_CXXFLAGS
=
$(
INCLUDES_PATH
)
-I
/usr/local/include
mem_CFLAGS
=
mem_LDADD
=
$(
LINKLIBS
)
-L
/usr/lib64/nvidia-bumblebee/
lib_LIBRARIES
=
libofpmmemory.a
libofpmmemory_a_SOURCES
=
memory/HeapMemory.cpp
$(
CUDA_SOURCES
)
memory/PtrMemory.cpp
libofpmmemory_a_CXXFLAGS
=
$(
INCLUDES_PATH
)
-I
/usr/local/include
libofpmmemory_a_CFLAGS
=
nobase_include_HEADERS
=
memory/ExtPreAlloc.hpp memory/HeapMemory.hpp memory/memory.hpp memory/PreAllocHeapMemory.hpp memory/PtrMemory.hpp
.cu.o
:
$(
NVCC
)
$(
NVCCFLAGS
)
-I
.
$(
INCLUDES_PATH
)
-o
$@
-c
$<
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment