marlin: improve build

This commit is contained in:
Daniël de Kok 2024-06-06 11:25:56 +00:00 committed by Daniël de Kok
parent 0d96468ebb
commit 51621439a4
1 changed files with 7 additions and 9 deletions

View File

@ -1,13 +1,11 @@
marlin_commit := 2f6d7c10e124b3c5fa29ff8d77d568bd7af3274c marlin_commit := 2f6d7c10e124b3c5fa29ff8d77d568bd7af3274c
marlin: build-marlin:
# Clone marlin if [ ! -d 'marlin' ]; then \
pip install packaging pip install -U ninja packaging --no-cache-dir && \
git clone https://github.com/IST-DASLab/marlin.git marlin git clone https://github.com/IST-DASLab/marlin.git marlin; \
fi
build-marlin: marlin cd marlin && git fetch && git checkout $(marlin_commit) && python setup.py build
cd marlin && git fetch && git checkout $(marlin_commit)
cd marlin && python setup.py build
install-marlin: build-marlin install-marlin: build-marlin
cd marlin && python setup.py install cd marlin && git fetch && git checkout $(marlin_commit) && pip install -e .