Skip to content

Commit

Permalink
Make build less annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
rozukke committed Jul 3, 2024
1 parent 84f4551 commit d9674e6
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ clean:
rm -rf build
rm -f speed_cpu

build: clean
build:
$(MAKE) -C ./build
mv ./build/speed_cpu ./

rebuild: clean
cmake -Bbuild
$(MAKE) -C ./build
mv ./build/speed_cpu ./
Expand All @@ -19,8 +23,8 @@ run: build
run_test: build
./speed_cpu ./weights_and_biases.txt ./tensors

test: build
./speed_demo_cpu.sh ./weights_and_biases.txt ./tensors
test: rebuild
./speed_cpu ./weights_and_biases.txt ./tensors 1
mv ./results.csv ./test
python3 ./test/verify_csv.py

Expand Down

0 comments on commit d9674e6

Please sign in to comment.