Commit 3f7f506b authored by oliver@apple.com's avatar oliver@apple.com

fourthTier: Use hw.availcpu instead of hw.ncpu, and configure LLVM with --enable-zlib=no

Rubber stamped by Mark Rowe.

* Scripts/copy-webkitlibraries-to-product-directory:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@153138 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 140c67fd
2013-04-30 Filip Pizlo <fpizlo@apple.com>
fourthTier: Use hw.availcpu instead of hw.ncpu, and configure LLVM with --enable-zlib=no
Rubber stamped by Mark Rowe.
* Scripts/copy-webkitlibraries-to-product-directory:
2013-07-16 Oliver Hunt <oliver@apple.com>
Merge dfgFourthTier r148853
......
......@@ -140,18 +140,14 @@ if ($ENV{ENABLE_FTL_JIT}) {
if ($useOwnLLVM) {
chdir $ownLLVMDirectory;
if (!-e "Makefile.config") {
print("Configuring LLVM.\n");
(system("./configure --enable-optimized=yes --enable-backtraces=no --enable-targets=x86_64 --enable-libcpp=yes")==0) or die;
(system("./configure --enable-optimized=yes --enable-backtraces=no --enable-targets=x86_64 --enable-libcpp=yes --enable-zlib=no")==0) or die;
}
print("Building LLVM.\n");
chdir $ownLLVMDirectory;
my $numCPUString = `sysctl hw.ncpu`;
$numCPUString =~ /: /;
my $numCPUs = $';
(system("make -j $numCPUs") == 0) or die;
(system("make -j `sysctl -n hw.availcpu`") == 0) or die;
chdirWebKit();
my $ownLLVMBuildMode = "";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment