Hi Pulkit, I am no expert, but I think that you have several options: * Ideally, there would be a flag to your tool telling it to copy or symlink files instead of using hard links, * alternatively, run your tool in a $TMP directory, and copy back the ones you need in the workspace. This is the wrapper way. Usually a bash script that sets everything up in $TMP, and cleans up after the tool has run. * patch Tup to support hard links :-). Although in this case it may be very difficult to define a correct semantic for hard links. Not supporting them is probably a feature, not a bug.
Best, -- Layus Le 26 mai 2023 21:55:21 GMT+02:00, Pulkit Aggarwal <[email protected]> a écrit : >Hi, > >I am a beginner in using tup. We have licensed a third party software that >uses Tup build system. I am trying to run Coverity(static code analyser) on >a C++ project with Tup build system. > >Original line: > >: foreach *.cpp | abc.h |> g++ $(CFLAGS) %f -o %o |> %B.o > >After adding Coverity: >: foreach *.cpp | abc.h |> cov-build --dir $(TopDir)/idir g++ $(CFLAGS) %f >-o %o |> %B.o > >On doing so, I'm getting "tup error: hard links are not supported" error. >Want to understand how to by pass this issue. > >-- >-- >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/f110323b-5f0b-441b-ab20-5c9fb1e2c3fen%40googlegroups.com. -- -- 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/92AF040B-E0ED-423A-96F9-671783F0E5FB%40gmail.com.
