On Tue, Nov 07, 2023 at 08:09:15PM +0800, Qian Yun wrote:
> I believe this was not discussed before?
> 
> Currently we install FriCAS into a very long path, something like:
>     /usr/lib64/fricas/target/x86_64-pc-linux-gnu/
> I suggest to shorten in to
>     /usr/lib64/fricas/ aka $PREFIX/fricas
> 
> (And in build directory, everything is installed under "./target/"
> instead of "./target/x86_64-pc-linux-gnu/".)
> 
> Since we don't support cross-compiling, current scheme makes no sense.
> (And it's causing a little inconvenience for CI work, since I have to
> hardcode such paths.)
> 
> If we agree to make this change, I can start to tweak the build system.

On my machine this is slightly shorter: x86_64-linux-gnu.  Such
convention is needed to install bianaries for different architectures
in the same filesystem.  You may think that installing binaries
for multiple architecures is exotic, but in fact in last 10 years
Linux distribitions spent a lot of effort so that this works
smoothly for basic system software.  It would be a shame if
FriCAS regressed on this.

Concerning hardcoded paths: the lnog names are there because it
is easier to avoid accidental clashes when paths are mechanically
generated.  So you should use paths (or variables) generated by
configure machinery.

-- 
                              Waldek Hebisch

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/fricas-devel/ZUo4RH3cArzVsd7v%40fricas.org.

Reply via email to