SciRuby / sciruby

Tools for scientific computation in Ruby
http://gems.sciruby.com
Other
995 stars 80 forks source link

Enabled symengine in gems.yml #46

Closed abinashmeher999 closed 8 years ago

abinashmeher999 commented 8 years ago

symengine.rb is available on rubygems.org as a gem and can be installed by gem install symengine. This is required for https://github.com/SciRuby/sciruby-notebooks/pull/3

cc @v0dro

abinashmeher999 commented 8 years ago

The build fails because libsymengine(SymEngine C++ library) is not installed before symengine gem gets installed.

CMake Error at CMakeLists.txt:7 (find_package):

  Could not find a configuration file for package SymEngine.

  Set SymEngine_DIR to the directory containing a CMake configuration file

  for SymEngine.  The file will have one of the following names:

    SymEngineConfig.cmake

    symengine-config.cmake

We need to configure travis to do that.

v0dro commented 8 years ago

is it possible to write a script that can pull the relevant libraries, compile them and put the binaries in the right place?

abinashmeher999 commented 8 years ago

We can list the steps in travis. I will try to do it.

Regards,

Abinash Meher

On Wed, Jan 27, 2016 at 2:57 PM, Sameer Deshmukh notifications@github.com wrote:

is it possible to write a script that can pull the relevant libraries, compile them and put the binaries in the right place?

— Reply to this email directly or view it on GitHub https://github.com/SciRuby/sciruby/pull/46#issuecomment-175508130.

abinashmeher999 commented 8 years ago

@v0dro I have configured travis. The builds fail for another gem. Please have a look.

v0dro commented 8 years ago

The failure is because of iruby, which is normal.

@minad this looks good. Your thoughts?

rajithv commented 8 years ago

ping

abinashmeher999 commented 8 years ago

I thought this was merged. Is there anything else that needs to be done?

v0dro commented 8 years ago

Looks good to me. I had merged your notebook, Abinash. @minad can you merge this?

minad commented 8 years ago

No, we won't merge this like that, since we cannot clutter this gem with special installation scripts. This should be fixed on the gem level (that means - inside symengine.rb), like for example nokogiri does it with libxml.

minad commented 8 years ago

And sorry guys for intervening that late, but this must be fixed differently. Otherwise we pay a much higher maintenance price for the sciruby gem in the long run.

isuruf commented 8 years ago

You mean, install symengine inside symengine.rb? Are you open to using a compiler with C++11 features like g++-4.8?

minad commented 8 years ago

Yes that should be ok.

Am 3. Mai 2016 06:29:03 MESZ, schrieb Isuru Fernando notifications@github.com:

You mean, install symengine inside symengine.rb? Are you open to using a compiler with C++11 features like g++-4.8?


You are receiving this because you modified the open/close state. Reply to this email directly or view it on GitHub: https://github.com/SciRuby/sciruby/pull/46#issuecomment-216432760