-
Notifications
You must be signed in to change notification settings - Fork 141
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
daru-0.0.5.gem | ||
*.gem | ||
Gemfile.lock |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# Contributing guide | ||
|
||
## Installing daru development dependencies | ||
|
||
If you want to run the full rspec suite, you will need the latest unreleased nmatrix and gsl-nmatrix ruby gems. They will released upstream soon but please follow this procedure for now. | ||
|
||
Keep in mind that either nmatrix OR gsl-nmatrix are NOT NECESSARY for using daru. They are just required for an optional speed up. | ||
|
||
To install dependencies, execute the following commands: | ||
|
||
`export CPLUS_INCLUDE_PATH=/usr/include/atlas` | ||
`export C_INCLUDE_PATH=/usr/include/atlas` | ||
`sudo apt-get update -qq` | ||
`sudo apt-get install -qq libatlas-base-dev` | ||
`sudo apt-get --purge remove liblapack-dev liblapack3 liblapack3gf` | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
v0dro
Author
Member
|
||
`sudo apt-get install -y libgsl0-dev r-base r-base-dev` | ||
`sudo Rscript -e "install.packages(c('Rserve','irr'),,'http://cran.us.r-project.org')"` | ||
|
||
Then execute the .build.sh script to clone and install the latest nmatrix and gsl-nmatrix on your system: | ||
|
||
`./.build.sh` | ||
|
||
Then finally install remaining dependencies: | ||
|
||
`bundle install` | ||
|
||
And run the test suite (should be all green with pending tests): | ||
|
||
`bundle exec rspec` | ||
|
||
If you have problems installing nmatrix, please consult the [nmatrix installation wiki](https://github.com/SciRuby/nmatrix/wiki/Installation) or the [mailing list](https://groups.google.com/forum/#!forum/sciruby-dev). |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,2 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
# gem 'gsl-nmatrix', :git => "https://github.com/v0dro/gsl-nmatrix.git", :ref => "763413625c39231e916cc6f38dfa0141598a9b80" | ||
gem 'gsl-nmatrix' |
I executed this and this also asks for removal of extra packages that I don't want to remove.