Hello,
I manage my tooling with the 'nix-shell' utility from Nix/Nixpkgs/NixOS.
As a result, my PATH environmental variable contains a unique path
element for each tool included in the managed enviroment, and when a
tool is updated Tup will detect a PATH change and rebuild everything
(expensive, but those who sacrifice correctness for convenience shall
have neither).
To ensure that I only build within the managed environment, I do not
install Tup globally, but make it available as part of my development
shell. This approach requires the Nix package manager to be installed,
but one does not need to be using the NixOS disto.
https://nixos.org/nix/manual/#sec-nix-shell
https://github.com/ehmry/genode-ehmry/blob/master/default.nix
Cheers,
Emery
On Wednesday, July 3, 2019 9:21:51 PM CEST, Robb Matzke wrote:
Hi,
I work on a large project that has 160 Tupfiles for 20k C++
source files that needs to be tested for portability across more
than 30 C++ compiler versions, 20 Boost versions, and many other
dependencies. My practice is to install each dependency in its
own version-specific installation prefix, and thus changing
dependencies causes tup to rebuild affected artifacts because
the compiler paths and/or switches change. I'm switching between
dependencies on a daily basis and have never missed tup's lack
of a "clean", although my setup is probably atypical.
--Robb
dirkson writes:
Hi there!
If the version of a compilation tool changes between tup compiles, the
output of a compilation step can change in a way that a tup
user might care
about, but that tup can't currently account for.
As an example, the commonmark-to-html tool I was using to compile my ...
--
--
tup-users mailing list
email: [email protected]
unsubscribe: [email protected]
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to the Google Groups "tup-users" 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/tup-users/c2100b93-6d99-4c72-81d8-d341af9af41c%40posteo.net.
For more options, visit https://groups.google.com/d/optout.