mirror of
https://github.com/Haskell-Things/ImplicitCAD.git
synced 2024-09-17 16:08:01 +03:00
stop using valgrind by default when generating examples.
This commit is contained in:
parent
20eecede8b
commit
5e4f7604e9
6
Makefile
6
Makefile
@ -31,6 +31,10 @@ RESOPTS=-r 50
|
|||||||
# Uncomment for profiling support. Note that you will need to recompile all of the libraries, as well.
|
# Uncomment for profiling support. Note that you will need to recompile all of the libraries, as well.
|
||||||
#PROFILING= --enable-profiling
|
#PROFILING= --enable-profiling
|
||||||
|
|
||||||
|
## FIXME: escape this right
|
||||||
|
# Uncomment for valgrind on the examples.
|
||||||
|
#VALGRIND=valgrind --tool=cachegrind --cachegrind-out-file=$$each.cachegrind.`date +%s`
|
||||||
|
|
||||||
LIBFILES=$(shell find Graphics -name '*.hs')
|
LIBFILES=$(shell find Graphics -name '*.hs')
|
||||||
LIBTARGET=dist/build/Graphics/Implicit.o
|
LIBTARGET=dist/build/Graphics/Implicit.o
|
||||||
|
|
||||||
@ -95,7 +99,7 @@ dist: $(TARGETS)
|
|||||||
|
|
||||||
# Generate examples.
|
# Generate examples.
|
||||||
examples: $(EXTOPENSCAD)
|
examples: $(EXTOPENSCAD)
|
||||||
cd Examples && for each in `find ./ -name '*scad' -type f | sort`; do { valgrind --tool=cachegrind --cachegrind-out-file=$$each.cachegrind.`date +%s` ../$(EXTOPENSCAD) $$each $(RTSOPTS); } done
|
cd Examples && for each in `find ./ -name '*scad' -type f | sort`; do { ../$(EXTOPENSCAD) $$each $(RTSOPTS); } done
|
||||||
cd Examples && for each in `find ./ -name '*.hs' -type f | sort`; do { filename=$(basename "$$each"); filename="$${filename%.*}"; $(GHC) $$filename.hs -o $$filename; $$filename; } done
|
cd Examples && for each in `find ./ -name '*.hs' -type f | sort`; do { filename=$(basename "$$each"); filename="$${filename%.*}"; $(GHC) $$filename.hs -o $$filename; $$filename; } done
|
||||||
|
|
||||||
# Generate images from the examples, so we can upload the images to our website.
|
# Generate images from the examples, so we can upload the images to our website.
|
||||||
|
Loading…
Reference in New Issue
Block a user