> I want build to take place in 'src' subtree.

Looks like we have different views on how a build should work. I will
not argue much since you are the main developer, but for me it should be
possible to put a fricas checkout on a read-only medium and then start
the build from some directory outside this checkout. This is the
standard way I build fricas. My source tree is never written.

But it should equally well be possible to build directly inside the
checkout directory.

> We need 'target' subtree because we run parts of system during build 
> and we overwrite  some of them.

Right, I guess you mean bootstrapping algebra. For that it's OK, but
otherwise "target" is unnecessary. Furthermore, there also appears a
"build" directory, which only is filled only like this:

find build -type f
build/x86_64-unknown-linux/bin/interpsys
build/x86_64-unknown-linux/bin/bootsys
build/x86_64-unknown-linux/bin/lisp
build/scripts/document

We could probably generate those things to some other place and forget
about "build".

For all other parts (except the bootstrapping) the build system should
more follow the standard autotools way.

> IME trying to do everyting in 'target' whould cause serious 
> difficulties with debugging build problems.

Well, maybe. I'll address this some time later, I really want automake
and will some day come up with a patch. But it's not urgent.

> Doing _part_ of build in 'target' directly would cause no problem, 
> but _that_ would be unnecessary complication.  We run 'htadd' in the 
> target tree but this is probably the only build command run inside 
> 'target' tree.

What I don't understand is, that there is a separate "target" tree, but
actually it would be completely OK to say

git checkout [email protected]:hemmecke/fricas-svn.git fricas
mkdir fricas-build
cd fricas-build
../fricas/configure --prefix=/some/nice/directory
make
make install

That actually works already today, but the fricas-build/target directory
has no corresponding source directory in the fricas tree. In fact
"target" is more like an installed directory.

> Let me put it that way: when I want to see a page there is good 
> chance that I will want to see another page, but quite low that will 
> want to see a viewport.

If you want to see a page you look into "target"? Not inside the
installed tree or the very source tree?

I might agree that the installed tree should look manageable, but the
(temporarily generated) build tree is not something I care much about.
Of course, I'll move viewport as to meet your suggestion, but the
installed tree is what counts, not "target".

> when tree structured filesystem was invented ...

Don't think that I'm a fan of flat filesystems. ;-)

Ralf

-- 
You received this message because you are subscribed to the Google Groups 
"FriCAS - computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/fricas-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to