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

Unified Diff: llvm.sh

Issue 522020: clang support (Closed)
Patch Set: lgtm Created 10 years, 3 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
Index: llvm.sh
diff --git a/llvm.sh b/llvm.sh
new file mode 100644
index 0000000000000000000000000000000000000000..3014438fd43aaf1449c6fb1dab3651ee406e2c87
--- /dev/null
+++ b/llvm.sh
@@ -0,0 +1,10 @@
+export PATH=$PATH:/work/chrome/llvm/Release+Asserts/bin
+
+export CC=clang
+export CXX=clang++
+export builddir_name=llvm
+export GYP_DEFINES='clang=1'
+
+# set memory limits since clang goes off the rails sometimes
+MEM=$((5*1000*1000))
+ulimit -d $MEM -m $MEM -v $MEM

Powered by Google App Engine
This is Rietveld 408576698