Symengine.f90 status

Hi,
Is symengine.f90 still developed or supported?
Neither make install nor fpm install seem to work for me:

bbserv:symengine.f90 (master)$ cmake -DCMAKE_PREFIX_PATH=/2/sw/HPC/fpm/symengine-f90  .
:
:
:
-- Generating done (0.1s)
-- Build files have been written to: /home/bourdinb/Development/symengine.f90
bbserv:symengine.f90 (master)$ make
:
:
:
bbserv:symengine.f90 (master)$ make install
make: *** No rule to make target 'install'.  Stop.

or

bbserv:symengine.f90 (master)$ fpm install --prefix /2/sw/HPC/fpm/symengine-f90
 + mkdir -p build/dependencies
<ERROR> Project does not contain any installable targets
STOP 1

Yes, it is, but we need to fix it if it stopped working.

Glad to hear that @certik

The issue I have is building it with cmake. I’m sure that it is trivial, but I really don’t do Cmake.

1 Like

I think that cmake actually worked for you above. Looking at our CI: symengine.f90/.github/workflows/ci.yml at 5a96562271df203ee96a45ae4a2420cd1e86917d · symengine/symengine.f90 · GitHub, it looks like we just do:

          cd symengine.f90
          mkdir build
          cd build
          cmake ..
          make
          ctest

See if that works for you.

If so, can you please send us a PR updating/fixing the instructions the README?

I have just sent a PR that adds an install target and a switch in order to chose between building a static or a shared library.

1 Like