These are chat archives for symengine/symengine
I used 4b856f2955ec53d599c3cdaca6adc98ca6602cea, did:
cmake . make
and I have:
$ ll src/libsymengine.a -rw-rw-r-- 1 ondrej ondrej 1750328 May 9 20:38 src/libsymengine.a
make install), then it will be in
/usr. You should never touch that directory. Rather, use a cmake option
-DCMAKE_INSTALL_PREFIX:PATH="/tmp/xx"and just install it somewhere else.
/libto the list of paths or shall I install the whole symengine library if I don't find it there?
pip install. It would be better to keep both the options. But we can't waste much time for that.
pip installis a huge hassle if you are installing wrappers to a C++ library, because you need to tell it where the C++ library is installed and tons of other options typically.
.pcfile, so that people can use it.
.pcfiles are not a full solution either. It's just one of the things that it is good if we use it, as it does simplify things if it works. But it doesn't allow you to specify rpath, without hacking it (which we do in Hashdist, we have a wrapper on top of pkg-config: https://github.com/hashdist/hashstack/blob/7df295459c311b599ab10d96884798d45c9ae254/pkgs/pkg-config/pkg-config-wrapper) etc. etc. It's quite complicated, and we don't want to go just one way and close all the other ways. We just want to provide
.pc, among other things.
src/cwrapper.h/cpp) and creating the Ruby wrappers, in
src/ruby/some_files.h/cpp. Those files will always stay, somewhere, somehow, and that's the hard work. How they are actually installed is another thing, and there we will need some iterations, as we talked above, based also on feedback from the Ruby community --- there are many options, and I don't know at this moment which one is the best. But we'll figure it out eventually.
before_installoption in travis.yml or something like that where the commands to build the wrappers were passed to travis.
src/ruby/some_files.h/cppfiles actually work. Again, since we don't know yet what the best way is to install them in the end, we'll just use the step one to test it on Travis. As you just said.