These are chat archives for symengine/symengine

10th
Jul 2015
Isuru Fernando
@isuruf
Jul 10 2015 13:55
Github seems to be down. Anybody else experiencing this?
Sartaj Singh
@leosartaj
Jul 10 2015 16:42
Getting an occasional 'something went wrong'
Ondřej Čertík
@certik
Jul 10 2015 21:07
@isuruf github seems fine for me.
Isuru Fernando
@isuruf
Jul 10 2015 21:08
Yeah, I couldn't access our repo for a while. It's fixed now. https://status.github.com/messages
About building in Windows, we'll have to use MPIR instead of GMP right?
Francesco Biscani
@bluescarni
Jul 10 2015 21:11
GMP works fine for me with mingw
Isuru Fernando
@isuruf
Jul 10 2015 21:12
Yes, GMP works with MinGW, that's one option. If we want to support MSVC, then I think we'll have to go with MPIR.
Ondřej Čertík
@certik
Jul 10 2015 21:45
Yes, we want SymEngine to work with MSVC. I am at the SciPy 2015 conference and I learned lots of projects use Travis and Appveyor to automate everything, including binary uploads to binstar (now anaconda.org). So we should use it. For windows, we just need to make sure it builds with some version of MSVC, at least Release (and passes tests). That's good enough.
Once SymEngine becomes more popular, other people can help out with Windows. All we need to make sure from the beginning is that the code actually builds and works with some (could be recent) version of MSVC in Release mode. That way people who want to help out have a working starting point and all they need to do is to port it to other versions of MSVC, or make Debug mode work (if it doesn't), etc.
Isuru Fernando
@isuruf
Jul 10 2015 21:49
Is Catch MSVC or MinGW compatible?
I setup appveyor before catch was introduced and it worked with MinGW, now it just times out
Ondřej Čertík
@certik
Jul 10 2015 21:50
I heard it works. How does it time out? MinGW is essentially a gcc, isn't it? So I think that will work, but we need to especially test MSVC.
If it doesn't work, we can report a bug against Catch, the author said in some video that it should be pretty cross platform and if not, to report a bug.
Ondřej Čertík
@certik
Jul 10 2015 21:54
So ctest -V hangs on test_basic...
Isuru Fernando
@isuruf
Jul 10 2015 21:54
yes
Ondřej Čertík
@certik
Jul 10 2015 21:54
That's weird, it looks like it didn't print any output.
Can you try with MSVC?
Isuru Fernando
@isuruf
Jul 10 2015 21:55
I don't know how
Ondřej Čertík
@certik
Jul 10 2015 22:03
@asmeurer sent me some links to setup MSVC
Isuru Fernando
@isuruf
Jul 10 2015 22:17
Is there any project that uses GMP?
Francesco Biscani
@bluescarni
Jul 10 2015 22:21
MinGW is a fully functional port of GCC (plus some other unix utils) to Windows
in contrast to Cygwin, it does not need any posix emulation layer - it just compiles to native executables
keep in mind that MSVC is sill lagging behind a lot with respect to C++11 compliance
Aaron Meurer
@asmeurer
Jul 10 2015 22:22
I recommend using visual studio if possible
tools like mingw tend to have a lot of bugs
Francesco Biscani
@bluescarni
Jul 10 2015 22:23
to me it has been the exact opposite, I cannot really compile much C++11 stuff with MSVC
but it's true that you have to use MSVC if you need to link to libraries built with MSVC
Isuru Fernando
@isuruf
Jul 10 2015 22:24
MinGW does have a lot of bugs, I had to disable inlining and remove std::to_string
Francesco Biscani
@bluescarni
Jul 10 2015 22:24
what build was it?
Isuru Fernando
@isuruf
Jul 10 2015 22:24
Release build
Francesco Biscani
@bluescarni
Jul 10 2015 22:25
I mean which mingw release - tdm, mingw-builds, or another one?
Isuru Fernando
@isuruf
Jul 10 2015 22:26
I used the one here, http://www.mingw.org/
Francesco Biscani
@bluescarni
Jul 10 2015 22:26
there's also msys2 these days
you should not use that - mingw64 is the way to go
Isuru Fernando
@isuruf
Jul 10 2015 22:27
I'll try that one
Francesco Biscani
@bluescarni
Jul 10 2015 22:27
http://mingw-w64.org/doku.php/download/mingw-builds that's what I use usually (I think - I need to recheck as I used windows last a couple of months ago)
the proliferation of mingw versions is certainly not nice
Isuru Fernando
@isuruf
Jul 10 2015 22:28
@certik, test_cwrapper fails, probably because of an alignment issue
and a printing test case, "1.1e-007*x" == "1.1e-07*x"
Francesco Biscani
@bluescarni
Jul 10 2015 22:32
there is also clang which should hopefully be pretty close to be usable on windows
MSVC is a horrid (modern) c++ compiler, it might get there eventually but it will take still years... even the Intel one is better
Isuru Fernando
@isuruf
Jul 10 2015 22:35
Yes, but since we are only using c++0x features, maybe all the features we need will be there
Francesco Biscani
@bluescarni
Jul 10 2015 22:38
It might be ok for symengine from what I have seen in the latest feature table: http://blogs.msdn.com/b/vcblog/archive/2015/06/19/c-11-14-17-features-in-vs-2015-rtm.aspx