Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Unified Diff: llvm.sh

Issue 3183009: WIP patch with fixes for building with Clang. (Closed) Base URL: http://src.chromium.org/git/chromium.git
Patch Set: Update Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/renderer/render_view_browsertest.cc ('k') | lss.patch » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: llvm.sh
diff --git a/llvm.sh b/llvm.sh
new file mode 100644
index 0000000000000000000000000000000000000000..3914a64c92698da69aef2e521f368ae9affb5468
--- /dev/null
+++ b/llvm.sh
@@ -0,0 +1,16 @@
+#Info: http://code.google.com/p/chromium/wiki/Clang
+
+export PATH=$PATH:/work/llvm/Release+Asserts/bin
+
+export CC=clang
+export CXX=clang++
+export builddir_name=llvm
+export LINK="flock linker.lock $CXX"
+
+export GYP_DEFINES='clang=1 linux_use_tcmalloc=0'
+
+# set memory limits since clang goes off the rails sometimes
+MEM=$((3*1000*1000))
+ulimit -d $MEM -m $MEM -v $MEM
+
+# Use build/gyp_chromium to regenerated Makefiles.
« no previous file with comments | « chrome/renderer/render_view_browsertest.cc ('k') | lss.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698