mirror of
https://github.com/pytorch/pytorch.git
synced 2025-10-20 12:54:11 +08:00
Migrate brewtool stuff into brewtool/ and update makefile to use cmake
This commit is contained in:
8
Makefile
8
Makefile
@ -1,16 +1,16 @@
|
||||
# This makefile does nothing but delegating the actual compilation to build.py.
|
||||
|
||||
all:
|
||||
@python build.py build
|
||||
@mkdir -p build && cd build && cmake .. && make
|
||||
|
||||
android:
|
||||
@python build_android.py build
|
||||
@python brewtool/build_android.py build
|
||||
|
||||
clean:
|
||||
@python build.py clean
|
||||
@rm -r build/
|
||||
|
||||
test:
|
||||
@python build.py test
|
||||
@python brewtool/build.py test
|
||||
|
||||
lint:
|
||||
@find caffe2 -type f -exec python brewtool/cpplint.py {} \;
|
||||
|
Reference in New Issue
Block a user