Cython was not always working
This commit is contained in:
parent
3314e5f051
commit
13ee927606
10
Makefile
10
Makefile
|
@ -17,16 +17,6 @@ FEM:
|
||||||
marc:
|
marc:
|
||||||
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
@./installation/mods_MarcMentat/apply_DAMASK_modifications.sh ${MAKEFLAGS}
|
||||||
|
|
||||||
.PHONY: processing
|
|
||||||
processing:
|
|
||||||
@if hash cython 2>/dev/null; then \
|
|
||||||
cd ./lib/damask; \
|
|
||||||
ln -s orientation.py corientation.pyx; \
|
|
||||||
CC=gcc python setup_corientation.py build_ext --inplace; \
|
|
||||||
rm -rv build; \
|
|
||||||
rm *.c; \
|
|
||||||
fi
|
|
||||||
|
|
||||||
.PHONY: tidy
|
.PHONY: tidy
|
||||||
tidy:
|
tidy:
|
||||||
@$(MAKE) tidy -C code >/dev/null
|
@$(MAKE) tidy -C code >/dev/null
|
||||||
|
|
Loading…
Reference in New Issue