Re: How to build ports, using a version of clang installed from

看板FB_questions作者時間11年前 (2014/07/09 14:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
On 09/07/2014 08:14, Stephen Woolerton wrote: > Hi everyone, > > I wish to compile a version of clang from ports, and then use that to > build all my ports. > > By way of background, I'm running a 10.0 arm snapshot and the version > of clang on the system is 3.4. A number of ports won't compile with > clang 3.4, and so I wish to build the clang 3.3 port, and then > compile all my ports with clang 3.3. > > How would I do this please? > In /etc/make.conf add - CC=/usr/local/bin/clang33 CXX=/usr/local/bin/clang++33 CPP=/usr/local/bin/clang-cpp33 If you find a port that has trouble with that you can add ..if ${.CURDIR:M*/math/atlas*} USE_GCC=any ..endif you can swap any for a specific version number eg- USE_GCC=4.8 Or you can go the other way and specify which ports use clang33 _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
文章代碼(AID): #1JlDgU0K (FB_questions)
文章代碼(AID): #1JlDgU0K (FB_questions)