Skip to content

Support fpm #8

Open
Open
@ivan-pi

Description

@ivan-pi

It would be nice if the Fortran wrapper could be built and used as a dependency with fpm.

The challenges are the many libraries that need to be installed and linked. Last time I tried the command needed was:

gfortran -o test_symengine -I/usr/local/include/symengine symengine_cwrapper.o test_symengine.o -L/usr/local/lib -lsymengine -lteuchos -lstdc++ -lmpfr -lgmp -lbfd

Or with the C++ driver as compiler (see #6):

g++ test.o symengine.o /home/symengine/build/symengine/libsymengine.a /home//symengine/build/symengine/utilities/teuchos/libteuchos.a -lgfortran -lgmp -lbfd -otest

@certik, is symengine installable using conda or pip?

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions