Sha256: c749a7a5ced820b4d32c6d140adce350c3d46c4c97ea3b36f78edb8a7b72b176
Contents?: true
Size: 1.55 KB
Versions: 5
Compression:
Stored size: 1.55 KB
Contents
# DepSelectorLibgecode This library vendors Gecode 3.7.3 as a rubygem so it can easily be used with the [dep-selector](https://github.com/opscode/dep-selector) project. [Gecode](http://www.gecode.org) is a fast CSP solver library written in C++. We created this library to install it in order to optimize the following criteria: * Allow users to install libraries that depend on gecode without extra steps. * Install the correct version of gecode for dep-selector. The current release line of gecode is 4.x, but dep-selector uses ~> 3.5. * Configure the source installation for shortest compilation time by excluding unnecessary components. Gecode has a reputation for taking a long time to compile, but in fact most of that time is spent building examples and documentation. We've disabled these, along with the flatzinc interpreter. ## Installation Add this line to your application's Gemfile: gem 'dep-selector-libgecode' And then execute: $ bundle Or install it yourself as: $ gem install dep-selector-libgecode ## Usage `DepSelectorLibgecode` provides helper functions for locating the vendored gecode after installation: ```ruby require 'dep-selector-libgecode' # The vendored lib dir: DepSelectorLibgecode.opt_path # The include dir (where the headers are): DepSelectorLibgecode.include_path ``` ## Licensing The packaging code here is released under the terms of the Apache2 license. Gecode itself is released under the terms of the MIT license. See CONTRIBUTING.md for more information. ## Contributing See CONTRIBUTING.md for more information.
Version data entries
5 entries across 5 versions & 1 rubygems