cbc-wrapper 2.9.7.1 → 2.9.7.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/ext/cbc-wrapper/extconf.rb +1 -1
- data/lib/cbc-wrapper/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 724d7e299f5c424650a93fe13fc5bbdfb4baabce
|
4
|
+
data.tar.gz: 66d290bd84fefb36985ae5b50013234600d039ae
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 00ff8f7f50586b3613ec174645bb7706c27fa53337701913fa111cd5a0d7d4661e8d0e35f94e1b177985618f259387d284bf55adac618f51d29c07385ea7b3b5
|
7
|
+
data.tar.gz: 5ce7c4763196281ecec10a5cf3b77d8cbe8802a33b8c789189b3ff74a139ea6476e26c3fdcffab66efba3dd1a3753204c4967f91e999f30ec88101f31ce46e06
|
data/ext/cbc-wrapper/extconf.rb
CHANGED
@@ -8,7 +8,7 @@ def install_cbc
|
|
8
8
|
system "curl -o #{TARBALL_PATH} http://www.coin-or.org/download/source/Cbc/Cbc-2.9.7.tgz"
|
9
9
|
Dir.chdir "/tmp" do
|
10
10
|
system "rm -rf #{CBC_SRC_DIR}; tar -xzf #{TARBALL_PATH}"
|
11
|
-
res = system "cd #{CBC_SRC_DIR} && ./configure --prefix=#{CBC_INSTALL} -C --with-pic --without-static && make && make install"
|
11
|
+
res = system "cd #{CBC_SRC_DIR} && ./configure --prefix=#{CBC_INSTALL} -C --with-pic --without-static && make -j `bash -c \"grep -c ^processor /proc/cpuinfo\"` && make install"
|
12
12
|
if not res
|
13
13
|
puts "Failed to build CBC, aborting... Cbc source is in #{CBC_SRC_DIR}"
|
14
14
|
exit 1
|
data/lib/cbc-wrapper/version.rb
CHANGED