Build system updates (call for testers!)



Raymond Toy <toy.raymond at gmail.com> writes:
>     Rupert> automake; ./configure --with-something; make
>
> I get message from automake about src/sharefiles.mk not existing.  but
> that seems ok.
>
> Also, you removed the <lisp>-depends.mk files. Won't that mean that if
> I modify a lisp file, make won't rebuild maxima?

They should get automatically regenerated when Maxima gets built, I
think. When I test by deleting the one that got built, it reappears next
time make is run. They have a make dependency on maxima.system, so I
think they should even get regenerated at the right time. Does this not
work for you?

> And, in fact, if I delete src/binary-cmucl, make no longer even tries
> to build the cmucl version.

That's worrying. For some reason, the debian cmucl package doesn't work
on my system, so I can't easily test this directly. But looking again at
Makefile.am, it seems that "all" should depend on $(FILES_TO_BUILD) (via
all-local), which should expand to $(BINARY_DIR)/maxima or
$(BINARY_DIR)/maxima.core depending on whether we have CMUCL_EXEC. Then
$(BINARY_DIR) should be binary-$(LISP_NAME), which (finally!) resolves
to binary-cmucl, meaning that "all" depends on binary-cmucl/maxima.core
or binary-cmucl/maxima.

Is there any chance you could track down where my chain of reasoning
breaks?

> And without a src/sharefiles.mk, I think that means lisp-only builds
> won't be able to find the share files anymore.  I don't know if
> lisp-only builds are officially supported, but I do know people who
> build maxima that way.

That is true. However, I really don't like the idea of committing a load
of automatically generated files to the repository. I've already had to
make "Oops, I missed sharefiles.mk" commits and it just seems a bit
silly, given that a trivial shell script regenerates the file.

Do people building without make build from the git repository? If not,
maybe we could generate sharefiles.mk (and sys-proclaim.lisp?) as part
of the tarball-rolling process when making a release. Robert: If I
remember correctly, this is you. Is that reasonable / unreasonable?
(Obviously, it can be automated)

Rupert
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: not available
URL: <http://www.math.utexas.edu/pipermail/maxima/attachments/20130315/31bf65dd/attachment.pgp>;