FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
libgpuarray/Makefile at master · NeutralCode/libgpuarray · GitHub
NeutralCode
/
libgpuarray
Public
forked from
Theano/libgpuarray
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
libgpuarray
/
Makefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
61 lines (45 loc) · 1.4 KB
Breadcrumbs
libgpuarray
/
Makefile
Copy path
File metadata and controls
61 lines (45 loc) · 1.4 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
rel
: install-relc py
-include
Makefile.conf
config
: Makefile.conf
Makefile.conf
:
@[
!
-f
Makefile.conf ]
&&
cp Makefile.conf.tmpl Makefile.conf
&&
echo
"
\n\n** Adjust the values in Makefile.conf for your system **\n\n
"
&&
exit
1
debug
: install-debugc py
.PHONY
: install-debugc py debug install-relc rel config
Debug
:
mkdir Debug
Debug/Makefile
: Debug config
ifndef
INSTALL_PREFIX
(cd Debug && NUM_DEVS=${NUM_DEVS} DEV_NAMES=${DEV_NAMES} cmake .. -DCMAKE_BUILD_TYPE=Debug)
else
(cd Debug && NUM_DEVS=${NUM_DEVS} DEV_NAMES=${DEV_NAMES} cmake .. -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$(INSTALL_PREFIX))
endif
debugc
: Debug/Makefile
(cd Debug
&&
make)
test-debugc
: debugc
ifndef
DEVICE
(cd Debug && make test)
else
(cd Debug && DEVICE=${DEVICE} make test)
endif
install-debugc
: debugc
(cd Debug
&&
${SUDO}
make install)
Release
:
mkdir Release
Release/Makefile
: Release config
ifndef
INSTALL_PREFIX
(cd Release && NUM_DEVS=${NUM_DEVS} DEV_NAMES=${DEV_NAMES} cmake .. -DCMAKE_BUILD_TYPE=Release)
else
(cd Release && NUM_DEVS=${NUM_DEVS} DEV_NAMES=${DEV_NAMES} cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=$(INSTALL_PREFIX))
endif
relc
: Release/Makefile
(cd Release
&&
make)
test-relc
: relc
ifndef
DEVICE
(cd Release && make test)
else
(cd Release && DEVICE=${DEVICE} make test)
endif
install-relc
: relc
(cd Release
&&
${SUDO}
make install)
py
: config
python setup.py build_ext --inplace
Back
|
FazBrowse Home
|
New Git URL