Questions tagged [tup]

Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list of file changes and a directed acyclic graph (DAG), then processes the DAG to execute the appropriate commands required to update dependent files.

Tup is a file-based build system for Linux, OSX, and Windows. It inputs a list of file changes and a directed acyclic graph (DAG), then processes the DAG to execute the appropriate commands required to update dependent files. Updates are performed with very little overhead since tup implements powerful build algorithms to avoid doing unnecessary work. This means you can stay focused on your project rather than on your build system.

Tup's manual and informational site can be found at http://gittup.org/tup.

23 questions
1
vote
2 answers

Cleaning with Tup

How do I clean my build artifacts with Tup? My project generates a lot of artifacts that I would like to have cleaned up. Tup doesn't seem to have a way to do it, and git reset --hard HEAD, even after a git add -Af, doesn't work.
Qix - MONICA WAS MISTREATED
  • 14,451
  • 16
  • 82
  • 145
0
votes
0 answers

How to read file content to variable in Tupfile (windows)

I am experimenting with the tup build system and now try to make the tup-over-maven build file. I want to extract the project version from the POM file and use it to specify output files like this: : pom.xml |> $(mvn) help:evaluate…
crimaniak
  • 123
  • 8
0
votes
1 answer

tup SQL reset error: database is locked

Just installed tup on ubuntu 16.04 and got the following error: $ tup init .tup repository initialized. SQL reset error: database is locked Statement was: commit Also tup upd has error as well. $ tup upd .tup/shared: No such file or…
sdstack
  • 185
  • 9
0
votes
0 answers

Strange output with G++, using the Tup build system

I started to use Tup for my C++ projects. My current one is a game, divided in 3 parts : The first is the main directory "osumax" ; The second is my game framework "osumax/Libraries/ns_framework" ; And the last is an API for the game data…
0
votes
1 answer

How do I get LLDB to find the source code when building Tup variants?

As per this question, I am unable to get LLDB to display the actual source code when debugging. Thanks to the accepted answer on that question, I have traced the problem to how Tup builds variants (e.g. debug, production etc): It works in a…
Leo
  • 4,217
  • 4
  • 25
  • 41
0
votes
1 answer

Tup dependencies from the root directory?

I've tried to create a rule similar to the minimal example: : ../library/something local |> !compile |> ./something_else This works, but I would like to write something like: : $(PROJ_ROOT)/library/something local |> !compile |>…
Ultimate Hawk
  • 580
  • 4
  • 16
0
votes
1 answer

How to run the tup build system on Windows 8 64bit?

I successfully use the tup build system on a Debian based system. According to the website, it should also run under Windows. I downloaded the latest version from their website for Windows, unzipped it and added the directory to the PATH env…
Jonas
  • 2,974
  • 4
  • 24
  • 23
-2
votes
1 answer

Tup with named targets

I just switched to tup from make and I can't seem to understand how to make named targets.. Makefiles allow for multiple targets to be defined, like make clean, make foo, etc. However, tup only seems to accept variable switches, not true…
HaoZeke
  • 674
  • 9
  • 19
1
2