Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
libclfft
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
einsteinathome
libclfft
Commits
7439e79e
Commit
7439e79e
authored
6 years ago
by
Bernd Machenschalk
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into 'master'
add a shared library version See merge request
!2
parents
a7bd5410
ad6ba6d3
Branches
Branches containing commit
Tags
Tags containing commit
1 merge request
!2
add a shared library version
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/Makefile
+5
-1
5 additions, 1 deletion
src/Makefile
with
5 additions
and
1 deletion
src/Makefile
+
5
−
1
View file @
7439e79e
...
...
@@ -4,8 +4,9 @@ CXX ?= g++
AR
?=
ar
TARGET
=
libclfft.a
TARGET2
=
libclfft.so
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
$(
AMDAPPSDKROOT
)
/include
-I
../include
CXXFLAGS
+=
-O3
-Wall
-g
-I
$(
NVIDIA_SDK_INSTALL_PATH
)
/OpenCL/common/inc
-I
$(
AMDAPPSDKROOT
)
/include
-I
../include
-fPIC
OS
=
$(
shell
uname
-s
)
ifeq
($(OS), Darwin)
CXXFLAGS
+=
-I
/System/Library/Frameworks
...
...
@@ -17,8 +18,10 @@ PREFIX ?= "."
$(TARGET)
:
$(OBJECTS)
$(
AR
)
rcs
$(
TARGET
)
$(
OBJECTS
)
$(
CXX
)
-shared
-o
$(
TARGET2
)
$(
OBJECTS
)
mkdir
-p
../lib
cp
$(
TARGET
)
../lib/
cp
$(
TARGET2
)
../lib/
fft_setup.o
:
fft_setup.cpp fft_internal.h fft_base_kernels.h
$(
CXX
)
$(
CXXFLAGS
)
-c
fft_setup.cpp
...
...
@@ -33,6 +36,7 @@ install: $(TARGET) ../include/clFFT.h
mkdir
-p
$(
PREFIX
)
/lib
$(
PREFIX
)
/include
cp
../include/clFFT.h
$(
PREFIX
)
/include/eclfft.h
cp
$(
TARGET
)
$(
PREFIX
)
/lib/libeclfft.a
cp
$(
TARGET2
)
$(
PREFIX
)
/lib/libeclfft.so
clean
:
rm
-f
*
.o
...
...
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