mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Added local build and apple fix for generating .so files
Summary: Closes https://github.com/caffe2/caffe2/pull/147 Reviewed By: bwasti Differential Revision: D4564024 Pulled By: JoelMarcey fbshipit-source-id: 526a5ab700f9356a3c93a6c64dc38e44a173559c
This commit is contained in:
committed by
Facebook Github Bot
parent
7d9a0a41fd
commit
7ee9984556
18
Makefile
18
Makefile
@ -1,19 +1,19 @@
|
||||
# This makefile does nothing but delegating the actual compilation to build.py.
|
||||
# This makefile does nothing but delegating the actual building to cmake.
|
||||
|
||||
all:
|
||||
@mkdir -p build && cd build && cmake .. && make
|
||||
|
||||
#android:
|
||||
# @python brewtool/build_android.py build
|
||||
local:
|
||||
@./scripts/build_local.sh
|
||||
|
||||
clean:
|
||||
@rm -r build/
|
||||
android:
|
||||
@./scripts/build_android.sh
|
||||
|
||||
#test:
|
||||
# @python brewtool/build.py test
|
||||
ios:
|
||||
@./scripts/build_ios.sh
|
||||
|
||||
#lint:
|
||||
# @find caffe2 -type f -exec python brewtool/cpplint.py {} \;
|
||||
clean: # This will remove ALL build folders.
|
||||
@rm -r build*/
|
||||
|
||||
linecount:
|
||||
@cloc --read-lang-def=caffe.cloc caffe2 || \
|
||||
|
Reference in New Issue
Block a user