[pro] Default safety level and specialized arrays
Ralf Mattes
rm at seid-online.de
Thu Mar 12 13:44:01 UTC 2015
On Thu, Mar 12, 2015 at 01:14:41PM +0100, Pascal J. Bourguignon wrote:
> And yes, since asdf doesn't cache the compiled files in separate directories for the various optimization
> settings (or the various *features* list), since that would be very unwiedly, you have to clear the cache
> when you switch between generating the end-user application, and normal developping work.
> rm -rf ~/.cache/common-lisp/ is found in all application generation makefiles.
Hmm, I think ASDF_OUTPUT_TRANSLATIONS still works, so my makefile looks like:
LISP := "/usr/local/bin/sbcl"
ARGS := "--non-interactive"
debug: export ASDF_OUTPUT_TRANSLATIONS = "/:/tmp/lisp-cache/$@/"
debug:
$(LISP) $(ARGS) --load $@.lisp --load build.lisp
release: export ASDF_OUTPUT_TRANSLATIONS = "/:/tmp/lisp-cache/$@/"
release:
$(LISP) $(ARGS) --load $@.lisp --load build.lisp
where debug.lisp / release.lisp would contain the wanted optimization settings.
HTH Ralf Mattes
More information about the pro
mailing list