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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: ea319f16ea1c413cbdf49123121678ab369de0e3
4
- data.tar.gz: 317ed0743fa539e2222930624b0cb067d5761735
3
+ metadata.gz: 724d7e299f5c424650a93fe13fc5bbdfb4baabce
4
+ data.tar.gz: 66d290bd84fefb36985ae5b50013234600d039ae
5
5
  SHA512:
6
- metadata.gz: 6320e44ee7c5ec32494745c72eebdcf0ea3cc633be71073ec1a224b83707745f0b6afccbcc3c8f96e44eb4742e4eae6cbc657eba0b0e8399ce8f3bca843f4d78
7
- data.tar.gz: 3e59c996dbed1708bc01ee08196d18f114e02459d0b2a3f3e97d9fea1e24c86bebe30f979a12e18247944eb61ad35d03b2015713ebca4cb34e668a0b618e1308
6
+ metadata.gz: 00ff8f7f50586b3613ec174645bb7706c27fa53337701913fa111cd5a0d7d4661e8d0e35f94e1b177985618f259387d284bf55adac618f51d29c07385ea7b3b5
7
+ data.tar.gz: 5ce7c4763196281ecec10a5cf3b77d8cbe8802a33b8c789189b3ff74a139ea6476e26c3fdcffab66efba3dd1a3753204c4967f91e999f30ec88101f31ce46e06
@@ -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
@@ -1,3 +1,3 @@
1
1
  module CbcWrapper
2
- VERSION = "2.9.7.1"
2
+ VERSION = "2.9.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cbc-wrapper
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.9.7.1
4
+ version: 2.9.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Guillaume Verger