echristo added a comment.
> The other reason, which is less important, is that when you have one arch and > ptxas fails -- which, it shouldn't, but we're not good enough to catch > everything yet, and likely won't be for some time -- the error you get is > > ptxas: foo is not defined > *FATAL ERROR*: fatbinary failed, /tmp/bar.cubin does not exist. > > > I'd like not to display that second line, since it hides the actual problem. > Once you get used to it, it's not a big deal, but it tripped me up for a few > minutes, and I'm the one who added the call to ptxas. This seems like more of a problem - we don't have this with the existing BindArchAction set of things, we stop before trying to call lipo on darwin. Hrm. -eric http://reviews.llvm.org/D16514 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits