dep-selector-libgecode 1.0.0 → 1.0.1

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: 688c8c86b4e4b5be41c093204c8f11a80c47038e
4
- data.tar.gz: 8ed505a6a91121ea0300e2bb824edf96967e64b4
3
+ metadata.gz: 09d03d813584eda1597f704ae88b3c766751e8a8
4
+ data.tar.gz: 2fefdacf2674b66eb4865de6cb58bc500d9c2b13
5
5
  SHA512:
6
- metadata.gz: 24dbf00e3923f6dc621b554b269591a9fe036e738fd54289b052a11bd19b02ec9623322a1c9fcaa9c6bb45cb9ae6db3253c9c6ab138aaa0a742b6817a38f7d22
7
- data.tar.gz: c7ffb678c129a33d33421983c433735be808911853845235c02e30a6b52e94b965c04ccea54673051e4cec8a58351e496d465875dc56f9a295c78b40f147ff0c
6
+ metadata.gz: 62f3b5e6ce53300712d283c63e007caccd477b0f77dc3acc250d6cf170eec3ddfcf7a58354c483b581f2c968b2b756ba82472bd57e1940cafdd4dd4d72328d41
7
+ data.tar.gz: 598f1a4a73718094b8522c22899ac3e4185f90d78e1d72dc93e26880807e64de7e7c13ac40980408299c3aa79b965a10bdaf7db7b5c97e0b8ce83cc6e0a7a4e0
data/CHANGELOG.md ADDED
@@ -0,0 +1,9 @@
1
+ # DepSelectorLibgecode Changelog
2
+
3
+ ## 1.0.1 (2014-05-22)
4
+
5
+ * Fix build failure on RHEL 5 due to gcc versions
6
+
7
+ ## 1.0.0 (2014-04-13)
8
+
9
+ Initial release.
data/README.md CHANGED
@@ -31,6 +31,26 @@ Or install it yourself as:
31
31
 
32
32
  $ gem install dep-selector-libgecode
33
33
 
34
+ ### Requirements
35
+
36
+ This gem runs make with concurrent jobs to speed build time, so it uses
37
+ about 2GB of RAM during the build. If this doesn't work for your
38
+ environment, see 'Using a System Gecode Instead' below. Better yet, if
39
+ you only want to install Berkshelf, try using
40
+ [ChefDK](http://www.getchef.com/downloads/chef-dk) instead of a gem
41
+ install.
42
+
43
+ ### Using a System Gecode Instead
44
+
45
+ Use the "USE_SYSTEM_GECODE" environment variable when installing to
46
+ make dep-selector-libgecode use the system version, instead of
47
+ downloading the source and building its own copy:
48
+
49
+ $ USE_SYSTEM_GECODE=1 gem install dep-selector-libgecode
50
+
51
+ *WARNING:* Ensure that your system packages provide Gecode version 3 and
52
+ not version 4. Version 4 does not work with dep-selector.
53
+
34
54
  ## Usage
35
55
 
36
56
  `DepSelectorLibgecode` provides helper functions for locating the
@@ -47,6 +47,10 @@ module GecodeBuild
47
47
  if windows?
48
48
  ENV['CC'] = 'gcc'
49
49
  ENV['CXX'] = 'g++'
50
+ # Older versions of CentOS and RHEL need to use this
51
+ elsif File.exist?('/usr/bin/gcc44')
52
+ ENV['CC'] = 'gcc44'
53
+ ENV['CXX'] = 'g++44'
50
54
  end
51
55
 
52
56
  # Configure the gecode libraries to look for other gecode libraries in the
@@ -81,7 +85,8 @@ module GecodeBuild
81
85
  system(*configure_cmd) &&
82
86
  system("make", "clean") &&
83
87
  system("make", "-j", "5") &&
84
- system("make", "install")
88
+ system("make", "install") &&
89
+ system("make", "distclean")
85
90
  end
86
91
 
87
92
  def self.run
@@ -1,3 +1,3 @@
1
1
  module DepSelectorLibgecode
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dep-selector-libgecode
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - danielsdeleo
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-04-14 00:00:00.000000000 Z
11
+ date: 2014-05-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -47,6 +47,7 @@ extensions:
47
47
  extra_rdoc_files: []
48
48
  files:
49
49
  - .gitignore
50
+ - CHANGELOG.md
50
51
  - CONTRIBUTING.md
51
52
  - Gemfile
52
53
  - LICENSE.txt
@@ -873,7 +874,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
873
874
  version: '0'
874
875
  requirements: []
875
876
  rubyforge_project:
876
- rubygems_version: 2.0.3
877
+ rubygems_version: 2.2.2
877
878
  signing_key:
878
879
  specification_version: 4
879
880
  summary: Installs a vendored copy of Gecode suitable for use with dep-selector