axiom-developer
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Axiom-developer] rule for making NRLIBs


From: Gabriel Dos Reis
Subject: Re: [Axiom-developer] rule for making NRLIBs
Date: 07 Oct 2006 11:59:01 +0200

Waldek Hebisch <address@hidden> writes:

| The current rule in src/algebra/Makefile.pamphlet does not work
| during re-make. Namely, SPAD compiler fails when NRLIB directory
| already exists. I propose to add the following:
| 
| --- pp/build-improvements/src/algebra/Makefile.pamphlet       2006-09-29 
21:09:42.000000000 +0200
| +++ build-improvements.nn5/src/algebra/Makefile.pamphlet      2006-10-07 
05:32:35.000000000 +0200
| @@ -1631,6 +1631,7 @@
|  .PRECIOUS: ${MID}/%.NRLIB/code.o
|  ${MID}/%.NRLIB/code.o: ${MID}/%.spad
|       @ echo compiling $*.spad to $*.NRLIB
| +     rm -rf ${MID}/$*.NRLIB
|       @ (cd ${MID} ; \
|          if [ -z "${NOISE}" ] ; then \
|           echo ")co $*.spad" | ${INTERPSYS}  ; \
| 
| One could also modify SPAD compiler to remove existing NRLIB, but
| remove NRLIB from the makefile has advantage that build will fail
| if NRLIB can not be recompiled -- currently build goes on using
| stale NRLIB, which is very confusing for testing.


OK for silver and build-improvements, please add a changeLog entry.

Thanks!

-- Gaby




reply via email to

[Prev in Thread] Current Thread [Next in Thread]