These are chat archives for symengine/symengine

30th
Jun 2016
Srajan Garg
@srajangarg
Jun 30 2016 05:29
What has happened to Travis CI?
Srajan Garg
@srajangarg
Jun 30 2016 08:17
I was trying out cotire, can be seen here. Here are the benchmarks after, git clean -dfx and cmake -DBUILD_BENCHMARKS=no -DBUILD_TESTS=no .
cotire make     0m44.452s
cotire make -j2 0m26.407s
cotire make -j4 0m16.152s

master make     0m56.701s
master make -j2 0m31.428s
master make -j4 0m19.275s
I think building tests will also benefit from it. Haven't benched it yet though.
@isuruf @certik do you think we can include it?
Ralf Stephan
@rwst
Jun 30 2016 09:01
As to coverage, how to test a "default" branch like SomeVisitor::bvisit(const Basic &x) which is supposed to be never called. Create a dummy Basic subclass for testing?
Isuru Fernando
@isuruf
Jun 30 2016 09:03
If it isn't supposed to, it shouldn't be there. Else you can find a class that will use that branch
If you create a dummy, you'll have to add it to type_codes.inc for the Visitor to work correctly
Ralf Stephan
@rwst
Jun 30 2016 09:05
So no local dummy in the test code possible?
Isuru Fernando
@isuruf
Jun 30 2016 09:06
Yes, that's a limitation of the Visitor class we have
You can however use a class that is almost never used like FunctionWrapper
Ralf Stephan
@rwst
Jun 30 2016 09:06
with commentary, OK, thanks
Arihant Parsoya
@parsoyaarihant
Jun 30 2016 17:46

I am recieving the following error while installing symengine here:

MacBook-Pro-4:symengine parsoyaarihant$ cmake . 
CMake Error at /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:148 (message):
  Could NOT find BFD (missing: BFD_INCLUDE_DIRS)
Call Stack (most recent call first):
  /usr/local/Cellar/cmake/3.5.0/share/cmake/Modules/FindPackageHandleStandardArgs.cmake:388 (_FPHSA_FAILURE_MESSAGE)
  cmake/FindBFD.cmake:26 (find_package_handle_standard_args)
  CMakeLists.txt:318 (find_package)


-- Configuring incomplete, errors occurred!
See also "/Users/parsoyaarihant/symengine/CMakeFiles/CMakeOutput.log".

can anyone help? I am using Mac.

Isuru Fernando
@isuruf
Jun 30 2016 17:50
Don't use WITH_BFD in Mac. cmake -DWITH_BFD=no