Re: [tup] Issues with filenames containing spaces (repost, previous one somehow got lost)

2014-02-17 Thread Mike Shal
On Fri, Feb 14, 2014 at 11:45 AM, Thanassis Tsiodras ttsiod...@gmail.comwrote: The following console output should be self explanatory - I can't seem to make Tup work with filenames containing spaces: ttsiod@avalon ~/work/ $ ls -l total 148 drwxr-xr-x 3 ttsiod ttsiod 4096 Feb 14 18:30

Re: [tup] no update is detected on OSX 10.9.1 (tup 0.7 and 0.7.1)

2014-02-17 Thread Mike Shal
On Mon, Jan 27, 2014 at 7:44 AM, john skaller skal...@users.sourceforge.net wrote: So I am guessing, Vim is using old fashioned load/save. Whereas Sublime is using memory mapping. Tup is detecting the gross change to the directory, but it isn't detecting a mere changed file size/time stamp.

Re: [tup] no update is detected on OSX 10.9.1 (tup 0.7 and 0.7.1)

2014-02-19 Thread Mike Shal
On Mon, Jan 27, 2014 at 5:01 AM, spamwax spam@gmail.com wrote: OK, it seems Sublime Text has a role in this issue. When I modify a text file using vim and do a 'tup upd', it works as expected. However when I modify the same file using Sublime Text, even though ls shows that size and

Re: [tup] no update is detected on OSX 10.9.1 (tup 0.7 and 0.7.1)

2014-02-20 Thread Mike Shal
On Thu, Feb 20, 2014 at 6:10 PM, spamwax spam@gmail.com wrote: On Wednesday, February 19, 2014 2:05:47 PM UTC-5, mar...@gmail.com wrote: Hmm, I tried to download Sublime Text 2 from here: http://www.sublimetext.com/2 On both OSX 10.8.4 and 10.9.1, when I save the file in Sublime,

Re: [tup] no update is detected on OSX 10.9.1 (tup 0.7 and 0.7.1)

2014-02-20 Thread Mike Shal
On Thu, Feb 20, 2014 at 9:54 PM, john skaller skal...@users.sourceforge.net wrote: On 21/02/2014, at 11:22 AM, Mike Shal wrote: Ahh, thanks - I can reproduce it with Sublime Text 3. So somehow when it saves the file, it's not updating the ctime (only the mtime). We need to check

Re: [tup] tup file system check on Windows

2014-03-05 Thread Mike Shal
Hi Karl, On Tue, Mar 4, 2014 at 11:30 AM, karl.zimmer...@utas.utc.com wrote: When not using 'tup monitor', and tup is invoked with a target, does it check for changes to *all* source files in the DAG, or only those known to contribute to that target? If not using 'tup monitor', then tup

Re: [tup] Tup + OS X Resource Forks

2014-03-15 Thread Mike Shal
On Tue, Mar 11, 2014 at 12:10 PM, Casey Rodarmor ca...@rodarmor.com wrote: Hi there, I recently started using tup as an alternative to waf, and I'm very happy with it. However there is one issue: It seems to be incompatible with OS X resource forks. As part of a build step, I have to

Re: [tup] Re: Wildcard rules that ignore files with a particular prefix

2014-06-11 Thread Mike Shal
On Tue, Jun 10, 2014 at 1:25 PM, Michael Levine shmuel.lev...@gmail.com wrote: On Tuesday, June 10, 2014 11:43:22 AM UTC-4, mar...@gmail.com wrote: I think the issue is with these if statements: if (#objects) then When there are no objects, #objects is 0, and if(0) is true in Lua

Re: [tup] TUP_CWD issues

2014-07-08 Thread Mike Shal
On Fri, Jun 27, 2014 at 5:24 PM, Quibbler lee.j.i.win...@gmail.com wrote: There are several issues related to the functioning of TUP_CWD. 1. The documentation is inadequate. Specifically, the examples. They are all trivial. Are there any examples of usage where the variable in used in a

Re: [tup] Tup having problems reading symbols for PCH

2014-07-25 Thread Mike Shal
On Mon, Jul 21, 2014 at 6:07 PM, Casey Rodarmor ca...@rodarmor.com wrote: Hi all, I have a project where turning on the -g to clang causes the build to fail. The first rule of the tupfile (attached) builds a pch from the common.h header file. When I uncomment #CXXFLAGS += -g, I get a bunch

Re: [tup] Question about expanding groups

2014-07-25 Thread Mike Shal
On Sat, Jul 12, 2014 at 3:05 PM, Bob Rubbens bobrubb...@gmail.com wrote: So I just found out that you can expand groups with %groupname (for example, turn sublibraries into liba.a libb.a libc.a etc.). It took quite a while of searching and fiddling with tupfiles. However, I found that piece

Re: [tup] Failed to inject dll: No such file or directory error

2014-07-25 Thread Mike Shal
On Thu, Jun 26, 2014 at 11:33 AM, Wesley Robb wesrob...@gmail.com wrote: Hey guys, I'm having the same issues with Win7 64bit while performing 32bit builds. I'm using tup version v0.7.2-12-ga582fee. Is there any plan to resolve this issue? I tried to look into this a while ago, but I

Re: [tup] How about a release? (;

2014-09-21 Thread Mike Shal
Hey Freddie, On Sat, Sep 20, 2014 at 7:00 AM, Freddie Chopin freddie.cho...@gmail.com wrote: Hello! I know that Mike is currently M.I.A. (; , but seeing that he updates his blog I hope that he also reads emails from this group (; I'm not totally MIA, just really busy :(. So, I haven't had

Re: [tup] FUSE is a problem

2014-09-21 Thread Mike Shal
On Mon, Sep 8, 2014 at 1:30 PM, Freddie Chopin freddie.cho...@gmail.com wrote: W dniu 2014-09-08 19:22, Chris Johnson pisze: TUP looks great. I've a fairly large and ever growing project (500 source files, 150 directories) I need to frequently build. But having to install FUSE is a major

Re: [tup] Unspecified output files in case of dynamic output files

2014-09-21 Thread Mike Shal
On Wed, Sep 10, 2014 at 5:10 AM, Rico Beier beiri2...@gmail.com wrote: But think of the following problem: You have an input file, that is splitted by command_1 into different files (either part_1 ... part_n depending on content; and all these files shall be processed further; OR

Re: [tup] FUSE is a problem

2014-09-23 Thread Mike Shal
As a mostly-Windows user I haven't yet tried tup on Linux, until today (; So I've faced the whole palette of problems that most of you faced before: - I had to set suid in tup binary and modify the tupfiles with ^c^ flag to be able to debug the project with GDB, Yep :( - we should be able

Re: [tup] FUSE is a problem

2014-09-30 Thread Mike Shal
On Wed, Sep 24, 2014 at 3:03 AM, Freddie Chopin freddie.cho...@gmail.com wrote: On 09/24/2014 02:40 AM, Mike Shal wrote: Build time increased by over 100% compared to what? Full rebuild WITH ^c^ takes 69s / 63s (first / second run). The same full rebuild without this flag takes half

Re: [tup] FUSE is a problem

2014-09-30 Thread Mike Shal
On Tue, Sep 30, 2014 at 10:32 PM, Mike Shal mar...@gmail.com wrote: On Wed, Sep 24, 2014 at 3:03 AM, Freddie Chopin freddie.cho...@gmail.com wrote: On 09/24/2014 02:40 AM, Mike Shal wrote: Build time increased by over 100% compared to what? Full rebuild WITH ^c^ takes 69s / 63s (first

Re: [tup] would ptrace work?

2014-11-01 Thread Mike Shal
The user_allow_other flag is only needed if you want to use full file-system wide dependencies, or run processes with the ^c flag to force running in a chroot. Otherwise you don't need to set it. If that is the problem, you should see something like this: --- Run t2000-basic-tupfile.sh --- .tup

Re: [tup] Tup on 64bit Windows

2014-11-01 Thread Mike Shal
Hi Robert, thanks so much for working on this! I think we are fairly close. I've tried to incorporate this patch and produce both the tup-dllinject.dll (64-bit) and tup-dllinject32.dll from the same tree. To build binaries from Linux, you'll need both a CONFIG_TUP_MINGW and CONFIG_TUP_MINGW32 in

Re: [tup] Tup on 64bit Windows

2014-11-01 Thread Mike Shal
I should have mentioned, the WIP is in the 'win64-2' branch: https://github.com/gittup/tup/tree/win64-2 On Sat, Nov 1, 2014 at 11:25 AM, Mike Shal mar...@gmail.com wrote: Hi Robert, thanks so much for working on this! I think we are fairly close. I've tried to incorporate this patch

Re: [tup] Re: Macports version

2015-01-16 Thread Mike Shal
On Mon, Jan 5, 2015 at 3:18 PM, lst...@gmail.com wrote: On Monday, January 5, 2015 6:45:30 AM UTC-8, Freddie Chopin wrote: Hello! (I'm also CC'ing this email to Anatol, as he is listed as maintainer) Is there any reason why tup's version in Macports is still 0.7.1, while 0.7.3 was

[tup] Run scripts survey

2015-11-10 Thread Mike Shal
Hi all, If you use run-scripts in your Tupfiles, I'd appreciate your feedback. You can reply to the list or reply to me privately if you prefer. 1) What langauge(s) do you use in your run-scripts? Eg: python, shell, etc. 2) What feature(s) do you use run-scripts for that aren't available in the

[tup] Contributor License Agreement on clahub

2015-11-10 Thread Mike Shal
Hi all, I've posted the contributor license agreement in CLAHub, so now you can fill out the agreement electronically instead of printing & scanning it. Submitting a pull request to https://github.com/gittup/tup for the first time should direct you to CLAHub, but if you have any issues with that

Re: [tup] recognizing a new extra input

2015-11-16 Thread Mike Shal
On Mon, Nov 2, 2015 at 3:22 PM, Gavin Cannizzaro wrote: > Hi Freddie, > > A belated thanks for this tip. > > I was able to get something working using this % construct. It's a > bit hackish (in my particular case), since I ended up merely echoing the > value of %, which

Re: [tup] Problems Building gittup.org linux

2015-11-16 Thread Mike Shal
On Wed, Nov 11, 2015 at 9:30 AM, Sekenre wrote > > > It works! I got audio and networking operational. (still have problems > with virtual hard disk, but that's just kernel module options, not build > related) > Great! > > Changing the kernel caused a rebuild of

Re: [tup] New error when using macros with additional outputs

2015-11-05 Thread Mike Shal
Thanks for the report! I believe this is now fixed in commit 28beb20626ba5459df9a5e5c25ece6396b4214a3. Though I'm confused why just doing 'tup init' with a different version would appear to make the issue go away. Did you actually run an update with the older version? The issue was in the parser,

Re: [tup] Add Tupdefault symmetric behaviour

2015-11-05 Thread Mike Shal
On Wed, Nov 4, 2015 at 12:58 PM, Jonatan Olofsson < jonatan.olofs...@gmail.com> wrote: > Hi, > > A few weeks ago I posted a pull request ( > https://github.com/gittup/tup/pull/245), but for some reason I forgot to > email this list.. My bad.. > > As you know, there is a feature for Lua

Re: [tup] Add Tupdefault symmetric behaviour

2015-11-05 Thread Mike Shal
Thanks! It's been merged. -Mike On Thu, Nov 5, 2015 at 1:41 PM, Jonatan Olofsson wrote: > Crap, that's bad of me.. Sorry about that. I updated the commit > accordingly and rebased it to the top. > > Signed icla via clahub. > > // Jonatan > > On Thursday, 5 November

Re: [tup] Tup and linux namespaces

2015-10-08 Thread Mike Shal
On Thu, Oct 1, 2015 at 1:14 PM, Mike Shal <mar...@gmail.com> wrote: > > On Thu, Oct 1, 2015 at 1:03 PM, Freddie Chopin <freddie.cho...@gmail.com> > wrote: > >> On Thursday 01 of October 2015 12:55:49 Mike Shal wrote: >> > Well I was wondering if it makes

Re: [tup] Tup and linux namespaces

2015-10-01 Thread Mike Shal
On Wed, Sep 30, 2015 at 5:33 PM, Ben Boeckel wrote: > On Wed, Sep 30, 2015 at 23:24:01 +0200, Freddie Chopin wrote: > > After extracting: > > > > > # CONFIG_USER_NS is not set > > For future reference, there is also zless and zgrep :) . > > > So I guess Arch Linux won't work

Re: [tup] Multiple output groups?

2015-10-01 Thread Mike Shal
On Wed, Sep 30, 2015 at 4:28 PM, Freddie Chopin wrote: > > Yeah, they can be handy :). Part of me thinks that we could just use > groups > > for inputs/outputs and not list any files manually. Though we'd also have > > to fix the explicit-listing-of-output-files issue

Re: [tup] Tup and linux namespaces

2015-10-01 Thread Mike Shal
On Thu, Oct 1, 2015 at 12:27 PM, Freddie Chopin <freddie.cho...@gmail.com> wrote: > On Thursday 01 of October 2015 10:09:56 Mike Shal wrote: > > - If you don't have such a kernel, your paths have '.tup/mnt/@tupjob-X' > in > > them (which messes up things that stuff the c

Re: [tup] Multiple output groups?

2015-10-01 Thread Mike Shal
On Thu, Oct 1, 2015 at 12:55 PM, Freddie Chopin <freddie.cho...@gmail.com> wrote: > On Thursday 01 of October 2015 10:05:17 Mike Shal wrote: > > Hmm, can you give an example here? I don't understand why you'd want to > > have libsomething.a and then a group - after all, an

[tup] variants are dead - long live variants

2015-10-02 Thread Mike Shal
Hi all, For those who use variants, and/or are interested in variants in Windows, can you give the 'explicit-variant' branch on github a try? Some background: The way variants were implemented has been a pain, because of the way it relied on the dependency checker to overlay the output

Re: [tup] dot-files and dot-folders

2015-12-02 Thread Mike Shal
On Thu, Oct 8, 2015 at 4:43 PM, Freddie Chopin <freddie.cho...@gmail.com> wrote: > Hello Mike! > > On Thursday 01 of October 2015 13:10:05 Mike Shal wrote: > > On Thu, Oct 1, 2015 at 12:55 PM, Freddie Chopin < > freddie.cho...@gmail.com> > > wrote: > > &

Re: [tup] Problems Building gittup.org linux

2015-12-01 Thread Mike Shal
On Fri, Nov 27, 2015 at 9:32 AM, Sekenre wrote: > Hi Mike, > > It is reproducable! > > 1) Do a menuconfig and add support for ext4 to the kernel > 2) Run tup a couple of times, It will complain about extra built-in.o file > 3) Create missing Tupfile in linux/fs/ext4 and

Re: [tup] dot-files and dot-folders

2015-12-02 Thread Mike Shal
On Wed, Dec 2, 2015 at 4:49 PM, Stephen Irons wrote: > > > On 3 December 2015 at 06:00, Freddie Chopin > wrote: > >> >> You might want to ignore other hidden folders of popular version control >> systems - ".svn" would be a good candidate.

Re: [tup] Change 'display.color' via command line or environment?

2015-12-01 Thread Mike Shal
On Sat, Oct 31, 2015 at 11:31 PM, Chris wrote: > Currently I am using the .tup/options file like this: > > [updater] > num_jobs = 3 > [display] > color = never > > I want to be able to do: > > tup --display-color=auto > or > tup --display-color=never > > Is a

Re: [tup] Re: variants are dead - long live variants

2015-12-01 Thread Mike Shal
On Thu, Nov 26, 2015 at 9:20 AM, Thomas Gahr wrote: > Dammit, I think this was just my fault, my PATH was not set correctly. As > soon as I add the folder with *.exe and *.dll of tup to PATH, it works like > a charm - at least for my small test ;) > Thanks for the feedback!

Re: [tup] OSX - kill FUSE and bring back DYLD?

2016-01-04 Thread Mike Shal
On Sun, Dec 27, 2015 at 5:45 PM, Tzu-Mao Li wrote: > Hi! > > I just started to use tup these days and ran into the xcrun_db issue > mentioned in this thread. Every time after I boot the machine I will need > to manually invoke clang so that the paths of the clang toolchain

Re: [tup] Re: variants are dead - long live variants

2015-12-18 Thread Mike Shal
On Fri, Dec 18, 2015 at 2:57 PM, Pat Pannuto wrote: > What if you went the other direction? i.e. copy / hard-link the source > files into the variant directories and execute the commands in the variant > directories? This would also allow things to run in parallel still. > >

Re: [tup] First impressions

2015-12-18 Thread Mike Shal
Hi hauptmech, thanks for your feedback! See below... On Sun, Nov 29, 2015 at 7:55 PM, hauptmech wrote: > > The naming of files used by tup are inconsistent and difficult to > remember. Having to look at the manual everytime I've been away from tup > for a while will be

Re: [tup] new release soon

2015-12-18 Thread Mike Shal
On Fri, Dec 18, 2015 at 4:50 PM, Pat Pannuto wrote: > Is there a branch somewhere to try out the no-run-script system? We rely > on run scripts pretty heavily and losing them could be a big blow. > > > Not yet, maybe as early as next week? But with the holidays it might be a

Re: [tup] strange ifn?eq

2015-11-20 Thread Mike Shal
On Fri, Nov 20, 2015 at 11:49 AM, Peter Varo wrote: > My god, it's full of *whitespaces*.. >> > > This is very strange, though understandable behaviour.. > > The behavior with whitespaces here was intended to match that of 'make', so you could read certain Makefiles with tup

Re: [tup] strange ifn?eq

2015-11-22 Thread Mike Shal
On Sat, Nov 21, 2015 at 11:21 AM, Peter Varo wrote: > Now it is perfect, thank you very much! :) > > I have another question, should I post it here, or should I start a new > thread instead? (It is not realted to `ifdef` and `ifndef`, but `ifeq` and > `ifneq`) > A new thread

Re: [tup] new release soon

2016-01-08 Thread Mike Shal
On Tue, Dec 22, 2015 at 6:04 PM, Freddie Chopin wrote: > Hi! > > I've tried the most recent tup few days ago and I must say that some things > broke for one of my projects. You may remember my post about a way to parse > any file with CONFIG_... variables with lua. I

[tup] Re: new release soon

2016-01-11 Thread Mike Shal
On Fri, Dec 18, 2015 at 3:18 PM, Mike Shal <mar...@gmail.com> wrote: > Hi all, > > I'd like to tag master as v0.7.4 soon (probably close to the new year). If > you haven't pulled in a while, can you try the latest master and file > issues for any obvious bugs? I

[tup] Version 0.7.4 tagged

2016-01-15 Thread Mike Shal
Hi all, I just tagged f3c25aeae16c978c1d7a6b656dd66c0a75c8c6e1 as v0.7.4. There were 131 commits since v0.7.3. Some of the main new features are: - Windows 64-bit executable support (huge thanks to Robert!) - Windows support for Unicode filenames - ^-input pattern to exclude specific files

Re: [tup] tup error: %e (0.7.4)

2016-02-19 Thread Mike Shal
Sorry for the delay - I think this is now fixed. See: https://github.com/gittup/tup/issues/262 On Tue, Jan 26, 2016 at 8:11 AM, Peter Varo wrote: > I switched to tup 0.7.4, and the previously perfectly working build-script > of mine is now broken. It's telling me: > > tup

Re: [tup] Legitimate use-case for supporting symlinks

2016-04-28 Thread Mike Shal
Symlinks are supported (but hard links are not). However, there are a few cases where they might not work: 1) Your symlink goes outside of the .tup hierarchy (eg: I have /home/user/project/.tup and symlink to a file in /home/user). In this case, the file in /home/user isn't checked by tup unless

Re: [tup] Is tup still alive?

2016-12-09 Thread Mike Shal
On Fri, Dec 9, 2016 at 1:22 PM, Nathan Blythe wrote: > Is tup still alive? I see that the github repo has no recent commits and > several outstanding merge requests. Tup is a perfect fit for many of my > projects, except for the notable deficiency of being unable to handle

Re: [tup] tup generate to add mkdir -p calls (feature request)

2017-01-11 Thread Mike Shal
On Tue, Jan 10, 2017 at 9:04 PM, 'Ben Golightly' via tup-users wrote: > > I am using `tup generate buildonce.sh` to generate raw build instructions to > later feed into a static analysis tool. > > However, I do have to edit the output manually to add "mkdir -p" calls

Re: [tup] No redo with group dependencies

2017-01-11 Thread Mike Shal
On Mon, Jan 2, 2017 at 8:08 AM, wrote: > Hello, > > I have some commands in my build system that do not take the input files > from the command line but have hardcoded input paths. My Tupfile looks > basically like this: > > : foreach src/*.in |> genx %f -o %o |>

Re: [tup] Building from a common root

2016-12-03 Thread Mike Shal
On Tue, Nov 29, 2016 at 10:41 AM, Brian Vandenberg wrote: > A pattern I've used in our build is to always compile everything from a > common root for the following reasons (among others): > > * the compiler embeds a partially qualified path into the source, making it > easy to

Re: [tup] On Windows Tup always thinks output was modified

2017-03-16 Thread Mike Shal
On Thu, Mar 16, 2017 at 11:56 AM, Thomas Costigliola wrote: > I am building with Tup from the Visual Studio 2013 command prompt. I output > a DLL and an EXE and tup always thinks they were modified outside of Tup on > the next build even when they are not. It seems there was

Re: [tup] On Windows Tup always thinks output was modified

2017-03-16 Thread Mike Shal
On Thu, Mar 16, 2017 at 3:51 PM, Thomas Costigliola wrote: > I just tested on a local drive and it does not seem to have the same > problem. So I guess the new question is, is there a fix for network drives? Offhand I'm not sure. Why type of network drive is it? Do the

Re: [tup] Variants copy whole working directory

2017-04-11 Thread Mike Shal
On Tue, Mar 28, 2017 at 4:03 PM, Rasmus Abrahamsen wrote: > I have a directory for my project. In this folder I have my Tupfile and my > source code. I created a build-debug and a build-release folder and have a > little tup.config in each of them. The next time I ran tup, my

Re: [tup] Command runs in terminal but not in tup

2017-04-13 Thread Mike Shal
On Thu, Apr 13, 2017 at 9:20 AM, Eddy Petrișor wrote: > Have you managed to find out the cause pud this issue? > > I know the environment in which the commands are executed under Tup is > heavily pruned. Could some missing environment variables be at fault? It looks like

Re: [tup] Re: aborts in windows

2017-07-24 Thread Mike Shal
Hi Arun, thanks for taking the time to dig into this! On Thu, Jul 13, 2017 at 3:29 AM, arun.s wrote: > Thanks to Kalrish i can now build tup in windows with mingw toolchain. I > debugged this problem further and sure enough it is the chdir and getcwd > calls

Re: [tup] Building o-files, lib-files etc. into separate directories

2017-05-12 Thread Mike Shal
On Fri, May 12, 2017 at 5:12 AM, Vojtech Musil wrote: > Hello, > > I started to learn tup, however I've stumbled on an issue while generating > files into different directories. My folder structure looks like this: > > tup_test4 > |---newmath > | |---square.c > |

Re: [tup] Recursive glob?

2017-05-12 Thread Mike Shal
On Mon, May 8, 2017 at 5:53 PM, Ryan Gonzalez wrote: > Hello, fellow tuppece! (HAHAHAHAHA nvm) > > I'm trying to write a tool that lets me build Dart code using Tup, but > I've come across a small problem: is it possible to use a recursive > glob inside either a foreach or a Lua

Re: [tup] tugignore or other means to ignore (intermediate) output files

2017-05-23 Thread Mike Shal
On Tue, May 23, 2017 at 12:59 PM, Eddy Petrișor <eddy.petri...@gmail.com> wrote: > Pe 23 mai 2017 7:14 PM, "Mike Shal" <mar...@gmail.com> a scris: > > On Tue, May 23, 2017 at 11:36 AM, Eddy Petrișor <eddy.petri...@gmail.com> > wrote: >> The problem I

Re: [tup] How do you integrate with 3rd party build tools

2017-05-04 Thread Mike Shal
On Thu, Apr 20, 2017 at 8:30 AM, Samuel Williams wrote: > Hi. > > I'm the author of teapot - http://teapot.nz/welcome/index and also > interested in build tools. > > Teapot uses a global DAG within reason - it's not possible to know how an > external project builds

Re: [tup] VCS tracked tup options

2017-09-08 Thread Mike Shal
On Thu, Sep 7, 2017 at 5:41 PM, Kevin Quick wrote: > I would like to be able to specify project-specific tup options that I can > commit in my VCS, but only .tup/options is currently processed, and the .tup > directory is added to the ignore list for my VCS. > > Placing

Re: [tup] Segmentation fault

2018-02-18 Thread Mike Shal
Hi Kristoffer, On Sun, Feb 18, 2018 at 4:08 AM, Kristoffer Koch wrote: > Hi tup-users! > > I'm currently exploring tup for building a large-ish embedded system, and it > seems very good. However, I'm currently experiencing a segfault: > > Thread 4 "tup" received signal

Re: [tup] newbie: exclude files using glob

2018-02-16 Thread Mike Shal
On Thu, Feb 15, 2018 at 10:57 PM, satish krosuru wrote: > Thanks Erik. Didn't realize that it is possible to insert rules at runtime > using run. > I can use script to generate Tupfile explicitly listing each file. I would recommend staying away from a run script if possible.

Re: [tup] Problem with clang on Windows

2018-08-12 Thread Mike Shal
On Sat, Aug 11, 2018 at 12:32 AM, wrote: > I'm excited to use tup for a new project but I'm having trouble getting it > to work in a simple situation on Windows. I'm trying to compile a single > "hello world" C file with clang and there seems to be a problem with tup > not understanding some of

[tup] tup v0.7.6 tagged

2018-04-13 Thread Mike Shal
Hi all, I've tagged the latest master as v0.7.6. The main updates include: - Added back an LD_PRELOAD dependency detector in Linux if tup is built with CONFIG_TUP_SERVER=ldpreload - Database version 17 splits out the display and flags from command strings - Added a bootstrap-nofuse.sh script

Re: [tup] No releases since 2016

2018-04-13 Thread Mike Shal
Sorry for the delay! I've just tagged a new release. I'll post some details in a separate email. -Mike On Tue, Apr 3, 2018 at 10:08 PM, Brian Vandenberg wrote: > On github under "releases" the most recent release is from 2016 but > there's clearly been a lot of more recent

Re: [tup] Already released file on http://gittup.org/tup/win32/ was overwritten

2018-03-30 Thread Mike Shal
On Wed, Mar 28, 2018 at 6:52 AM, wrote: > Hi everyone, > > the released file http://gittup.org/tup/win32/tup-v0.7.5-58-ga9befa9.zip > used to contain a build of tup based on commit a9befa9 (originally, I have > downloaded the file at the end of november). Unpacking the file and

Re: [tup] Re: "recursive"/"mirror" tup rule

2018-03-30 Thread Mike Shal
Another option you could look into is variants. If you create a dest/tup.config file, then all the outputs will be created in a mirrored directory hierarchy under dest automatically. Then you'd have Tupfiles like: src/Tupfile: : foreach *.input |> dothing %f %o |> %B.output And the output files

Re: [tup] Re: tup v0.7.8 released

2018-10-12 Thread Mike Shal
On Thu, Oct 4, 2018 at 7:55 AM Gerhard Giefing wrote: > Hi Mike, > > I am unable to test this revision, because I am using Windows. Could you >> please release also an Win32 Version of 0.7.8. on: >> > > http://gittup.org/tup/win32/ > > or is 0.7.7.36 the same as version 0.7.8? > Sorry, it seems

Re: [tup] Re: tup v0.7.8 released

2018-10-22 Thread Mike Shal
On Mon, Oct 15, 2018 at 7:00 AM Gerhard Giefing wrote: > Hi Mike, > > Today I tried the new function, but I got an error. > The command line I have tried looked like this: > > : Complete_VX1000.a2l {ELFS_TC} |> !asap2update |> > $(ROOTPATH)/Out/Application.a2l ^/ProgramData/ > > and > > :

Re: [tup] builds using tarbal

2018-10-24 Thread Mike Shal
On Wed, Oct 24, 2018 at 3:47 PM sateesh vandavasi < sateesh.vandav...@gmail.com> wrote: > Hi Mike, > > Some of component builds follows below workflow . > > 1) untar ( openssh-4.0.1.tar.gz ) > 2) create a link " contents --> openssh-4.0.1 ) > 3) patch > 4) build contents/src/*.c into

Re: [tup] rule to create directory

2018-10-23 Thread Mike Shal
On Tue, Oct 23, 2018 at 9:22 PM sateesh vandavasi < sateesh.vandav...@gmail.com> wrote: > What is rule syntax for creating a new directory and keep all object files > under obj-host. > > Sample tupfile: > > : |> mkdir -p obj-host |> obj-host > : | obj-host |> touch obj-host/1.out |>

[tup] tup v0.7.8 released

2018-09-28 Thread Mike Shal
Hi all, I've tagged the latest master as v0.7.8. Notable changes since v0.7.7: - Debugging symbols on the tup binary are always enabled - Fix to support ccache better - Fixes to support icecream better - Fix to support clang on Windows - Improvements to %i, %#b, and %#B handling (thanks

Re: [tup] Re: tup output file written outside of the project directory

2018-09-28 Thread Mike Shal
Unfortunately tup complains about all unexpectedly written files, not just those written inside the hierarchy. Perhaps ignoring those outside of the hierarchy would be more consistent since that's how inputs are handled. Though I think I'd prefer to change the behavior of inputs instead so that

[tup] Re: tup and clang/llvm temporary files

2020-05-14 Thread Mike Shal
On Wed, May 13, 2020 at 8:00 AM Christoph Harder wrote: > Hello Mike, > > 1) the output of clang --version is: > clang version 10.0.0 > Target: x86_64-pc-windows-msvc > Thread model: posix > InstalledDir: C:\Program Files\LLVM\bin > > 2) The output of lld-link --vrsion is: > LLD 10.0.0 >

Re: [tup] Temporary Files with Clang on Windows

2020-09-30 Thread Mike Shal
On Wed, Sep 30, 2020 at 12:31 AM oven...@gmail.com wrote: > Hello, I'm still having some issues with tup getting confused about > clang's temporary files on windows, even after some of the recent fixes. > > My main.c file contains: > > int main (int argc, char** argv) { > return 0; > } > > My

[tup] tup website currently down

2020-08-06 Thread Mike Shal
FYI, the tup website is currently down while I rebuild the server. It should be up again later today! -Mike -- -- tup-users mailing list email: tup-users@googlegroups.com unsubscribe: tup-users+unsubscr...@googlegroups.com options: http://groups.google.com/group/tup-users?hl=en --- You

[tup] tup website back up

2020-08-06 Thread Mike Shal
Everything should be back up - let me know if there's anything I missed. Thanks, -Mike On Thu, Aug 6, 2020 at 11:31 AM Mike Shal wrote: > FYI, the tup website is currently down while I rebuild the server. It > should be up again later today! > > -Mike > -- -- tup-users mai

Re: [tup] Re: Self-Inclusion

2020-06-09 Thread Mike Shal
I should mention, you can access global variables set by lua in regular tup-syntax files, and vice versa. So if you don't want to rewrite your "lots of stuff based on $(MODE) and $(VARIANT)" in lua, you can do something like this: # Tupfile.lua: modes = { "common", "debug", "profile",

[tup] tup v0.7.9 released

2020-06-12 Thread Mike Shal
Hi all, I've tagged v0.7.9 in tup. Notable changes since v0.7.8 include: - FreeBSD improvements (thanks Jose!) - macOS 10.15 support - !tup_preserve (to copy src files into variants) should now work - Progress toward better parallelism during the update phase Please post if you notice any

Re: [tup] Re: Self-Inclusion

2020-06-08 Thread Mike Shal
On Sun, Jun 7, 2020 at 9:32 PM pmenso57 wrote: > A file does not have to be locked when opened on Windows, but what I am > actually doing something like: > > ifeq ($(MODE),) > MODE = common > include Tupfile > MODE = debug > include Tupfile > MODE = profile > include

Re: [tup] Re: tup v0.7.10 released

2020-11-08 Thread Mike Shal
On Fri, Nov 6, 2020 at 5:47 AM Gerhard Giefing wrote: > Hi Mike, > > I tested the new version. Because of our antivirus policy, I could not > copy tup32detect.exe to the buildserver. > Hi Gerhard, I am curious if tup32detect.exe from http://gittup.org/tup/win32/tup-v0.7.10-2-g0bf83fce.zip will

Re: [tup] Re: tup v0.7.10 released

2020-11-10 Thread Mike Shal
tup 07.10.02 and it worked! tup32detect.exe was copied >> without complaints. Thanks. >> >> Mit freundlichen Grüßen >> >> DI (FH) Gerhard Giefing >> Obeliskgasse 9 >> 7000 Eisenstadt >> Tel.: +43664804447464 >> Mail.: gerhardgiefin...@gmail.com

Re: [tup] Re: tup v0.7.10 released

2020-11-05 Thread Mike Shal
On Wed, Nov 4, 2020 at 11:38 PM Gerhard Giefing wrote: > Hi Mike, > > I searched for the win32 release of 0.7.10, but I couldn't find any entry > on http://gittup.org/tup/win32/ > Is it still in progress? Could you please upload the win32 release? > Looking forward to test the new version. >

Re: [tup] website warning

2020-11-05 Thread Mike Shal
I wish I knew :(. I've asked a friend at Google to help look into it; see https://github.com/gittup/tup/issues/411 to follow along. I hadn't heard about virustotal - I tested a Windows build there, and it shows 1/79 engines flags it as malicious. Is that was Google is using to determine what to

[tup] tup v0.7.10 released

2020-10-29 Thread Mike Shal
Hi all, the latest master has been tagged as v0.7.10. Notable changes include: - Fixed several 'tup version' issues with bootstrapped or non-git tup - Fixed several issues with clang on Windows - Fixed an error in setting PGID for subprocesses (thanks Samuel!) - Fixed a few issues with

Re: [tup] Re: tup v0.7.10 released

2020-11-06 Thread Mike Shal
Hi Gerhard, Thanks for testing! What antivirus policy are you using? Maybe I can narrow down where that went awry, though oddly the tup32detect source hasn't really changed since it was first created. (The compiler used to build it has changed over time though, so the actual exe differs). The

[tup] Re: explicit variants revisited

2021-05-17 Thread Mike Shal
On Sat, May 1, 2021 at 11:07 AM Mike Shal wrote: > Hi all, > > A while back (2015!) the explicit-variant branch was published to test > moving away from the model of variants using the FUSE filesystem overlay, > to one where your Tupfiles need to be aware of variants in orde

[tup] tup v0.7.11 released

2021-05-15 Thread Mike Shal
Hi all, I've tagged the latest master branch as v0.7.11. This is intended to be the last v0.7.X release before explicit-variants are merged. New features: - ^t flag can be used to mark commands with "transient" outputs. These outputs are removed after all dependent commands have been processed.

Re: [tup] Rebuilding tup database to account for pre-existing files?

2021-05-19 Thread Mike Shal
On Tue, May 18, 2021 at 7:20 AM Sam Sam wrote: > HI everyone, > > I'm trying to use tup to model a data-oriented pipeline where several > programs are pipelined to generate large datasets. So far tup looked great, > but I was wondering how could I init a project where some target are > already

Re: [tup] Rebuilding tup database to account for pre-existing files?

2021-05-19 Thread Mike Shal
On Wed, May 19, 2021 at 10:58 AM Sam Sam wrote: > Hi Mike, > > You got my use case perfectly well, I’m trying to avoid re-running some > time consuming tasks by storing their targets on a distant volume. > After checking out my pipeline source code (including the tup file) from a > version

Re: [tup] Source code formatting - how to update input files?

2021-07-11 Thread Mike Shal
On Fri, Jul 9, 2021 at 3:25 PM 'Peter Moore' via tup-users < tup-users@googlegroups.com> wrote: > > Hi folks, > > Is there an idiomatic way to implement a source formatting step in tup? > I'm aware that the following type of construction is illegal since a file > cannot be both a generated node

[tup] explicit variants revisited

2021-05-01 Thread Mike Shal
Hi all, A while back (2015!) the explicit-variant branch was published to test moving away from the model of variants using the FUSE filesystem overlay, to one where your Tupfiles need to be aware of variants in order to use them. Although it requires a bit more work to use variants in your

Re: [tup] Copying Files on Windows

2021-03-01 Thread Mike Shal
On Sun, Feb 28, 2021 at 10:06 PM bjornbytes wrote: > Hello, I have a project that builds some smaller modules into shared > libraries, and then copies those DLL files to the same folder as the final > executable. I'm having trouble copying those libraries on windows when > they are nested in

Re: [tup] Speed on Windows

2021-04-18 Thread Mike Shal
On Fri, Apr 16, 2021 at 8:20 AM Andreas Schnell wrote: > Hello, > > I moved a small test project to TUP to learn the possibilities and I'm > very happy. > The next step would be the migration of a project with around 16000 files > on Windows. > What I understood TUP gains most of it's speed by

Re: [tup] Windows 7 x64; Lilypond (2.22.1); tup (0.7.11-37-ge3c98514) freezes

2021-09-05 Thread Mike Shal
Thanks for the report! I tried to reproduce this with your example, but I'm having trouble getting it to freeze. I'm using the same versions of tup & LilyPond: $ tup [ tup ] [0.016s] Scanning filesystem... [ tup ] [0.031s] Reading in new environment variables... [ tup ] [0.047s] Parsing

  1   2   >