cbc-wrapper 2.9.7 → 2.9.7.1
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 +2 -2
- 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: ea319f16ea1c413cbdf49123121678ab369de0e3
|
4
|
+
data.tar.gz: 317ed0743fa539e2222930624b0cb067d5761735
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6320e44ee7c5ec32494745c72eebdcf0ea3cc633be71073ec1a224b83707745f0b6afccbcc3c8f96e44eb4742e4eae6cbc657eba0b0e8399ce8f3bca843f4d78
|
7
|
+
data.tar.gz: 3e59c996dbed1708bc01ee08196d18f114e02459d0b2a3f3e97d9fea1e24c86bebe30f979a12e18247944eb61ad35d03b2015713ebca4cb34e668a0b618e1308
|
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
|
11
|
+
res = system "cd #{CBC_SRC_DIR} && ./configure --prefix=#{CBC_INSTALL} -C --with-pic --without-static && make && 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
|
@@ -46,6 +46,6 @@ headers.each do |header|
|
|
46
46
|
find_header(header, "#{CBC_INSTALL}/include/coin")
|
47
47
|
end
|
48
48
|
|
49
|
-
dir_config("
|
49
|
+
dir_config("cbc-wrapper")
|
50
50
|
RPATHFLAG << " -Wl,-rpath,'$$ORIGIN/install/lib'"
|
51
51
|
create_makefile('cbc_wrapper')
|
data/lib/cbc-wrapper/version.rb
CHANGED