Mikael Lyngvig
2012-Jun-16 00:12 UTC
[LLVMdev] Windows development and "virus" in LLVM test suite
> > Not having an AV or swithching it off at times is not a sign of > stupidity. The best antivirus is a mindful, knowledgeable user. And the > antivirus doesn't really protect you in case of risky behavior. >I couldn't have said it better myself. I've had three viruses in 29 years and only one of them was my own fault. I've spent hours trying to explain people that trusting an antivirus solution is unfortunate at best.> Yes, if the antivirus accepts an exception for a yet nonexistent file. I > bet most of them won't do that without fiddling with configuration > files. >Ok. You get it your way :-) Disable antivirus, checkout, and then add the offending file to the exclusion list. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120616/d306b46f/attachment.html>
Joshua Cranmer
2012-Jun-16 03:04 UTC
[LLVMdev] Windows development and "virus" in LLVM test suite
On 6/15/2012 8:12 PM, Mikael Lyngvig wrote:> > Not having an AV or swithching it off at times is not a sign of > stupidity. The best antivirus is a mindful, knowledgeable user. > And the > antivirus doesn't really protect you in case of risky behavior. > > > I couldn't have said it better myself. I've had three viruses in 29 > years and only one of them was my own fault. I've spent hours trying > to explain people that trusting an antivirus solution is unfortunate > at best. > > Yes, if the antivirus accepts an exception for a yet nonexistent > file. I > bet most of them won't do that without fiddling with configuration > files. > > > Ok. You get it your way :-) Disable antivirus, checkout, and then > add the offending file to the exclusion list.A better rule of thumb I would say is to exclude the entire source and build directories from antivirus. On-access file scan hurts build times a fair amount, and I really doubt that any of your source code is going to have viruses in them :-P -- Joshua Cranmer News submodule owner DXR coauthor -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120615/028634ba/attachment.html>
Mikael Lyngvig
2012-Jun-16 03:11 UTC
[LLVMdev] Windows development and "virus" in LLVM test suite
Well, I actually ended up writing a compromise of compromises: The recommended course of action is that you do this: #. Disable your anti-virus solution. #. Pull the LLVM test suite from the `LLVM website <http://www.llvm.org>`_. #. Add the file ``%LLVMDIR%\\projects\\test-suite\\MultiSource\\Applications\\ClamAV\\inputs\\rtf-test\\rtf1.rtf`` to your anti-virus ignore list. Alternatively, you can, at your own responsibility, add the entire ``%LLVMDIR%`` directory tree to your anti-virus solution's ignore list. This will likely speed up your builds as the anti-virus solution does not need to inspect each and every file over and over again while building. So, we're covered in all cases. I think the antivirus was the reason that an LLVM build just took about an hour on my Core i7. Normally it only takes like twenty or thirty minutes IF I recall correctly. 2012/6/16 Joshua Cranmer <pidgeot18 at gmail.com>> On 6/15/2012 8:12 PM, Mikael Lyngvig wrote: > > Not having an AV or swithching it off at times is not a sign of >> stupidity. The best antivirus is a mindful, knowledgeable user. And the >> antivirus doesn't really protect you in case of risky behavior. >> > > I couldn't have said it better myself. I've had three viruses in 29 > years and only one of them was my own fault. I've spent hours trying to > explain people that trusting an antivirus solution is unfortunate at best. > > >> Yes, if the antivirus accepts an exception for a yet nonexistent file. I >> bet most of them won't do that without fiddling with configuration >> files. >> > > Ok. You get it your way :-) Disable antivirus, checkout, and then add > the offending file to the exclusion list. > > > A better rule of thumb I would say is to exclude the entire source and > build directories from antivirus. On-access file scan hurts build times a > fair amount, and I really doubt that any of your source code is going to > have viruses in them :-P > > -- > Joshua Cranmer > News submodule owner > DXR coauthor > > > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev > >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120616/884a2da4/attachment.html>
Apparently Analagous Threads
- [LLVMdev] Windows development and "virus" in LLVM test suite
- [LLVMdev] Windows development and "virus" in LLVM test suite
- [LLVMdev] Windows development and "virus" in LLVM test suite
- [LLVMdev] Windows development and "virus" in LLVM test suite
- [LLVMdev] Windows development and "virus" in LLVM test suite