summaryrefslogtreecommitdiff
path: root/Makefile
blob: cc967702d7a426d2e8e408d7296a985b97d1b8f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
clean-ptx:
	find target -name "*.ptx" -type f -delete
	echo "" > candle-kernels/src/lib.rs
	touch candle-kernels/build.rs

clean:
	cargo clean

test:
	cargo test

pyo3-test:
	cargo build --profile=release-with-debug --package candle-pyo3
	ln -f -s ./target/release-with-debug/libcandle.so candle.so
	PYTHONPATH=. python3 candle-pyo3/test.py

all: test