Skip to content

libVersions

Janek Kozicki requested to merge libVersions into master

In this branch I have added a new python moodule yade.libVersions which will produce (example) following output on python command printAllVersions():

library cmake C++
gl 20160714
mpi 2.0.2
suitesparse 4.5.4 4.5.4
cgal 4.9
vtk 6.3.0 6.3.0
python 3.5.3 3.5.3
sqlite 3.16.2
cmake 3.7.2
openblas OpenBLAS 0.2.19
qt 5.7.1
gcc 6.3.0 6.3.0
qglviewer 2.6.3
eigen 3.3.2 3.3.2
metis 5.1.0
freeglut 13.4.1
boost 106200 1.62.0

This is example output. I added C++ detection for all of them [1], cmake detection could use some improvement from you :) The interesting thing is that we can check with what versions the documentation was compiled: [2] :) And of course it will help a great deal in debugging problems arising in launchpad questions.

If anyone wants to help with cmake part in file libVersions.py.in [3] it would be nice :)

[1] https://yade-dev.gitlab.io/trunk/installation.html#prerequisites

[2] https://yade-dev.gitlab.io/-/trunk/-/jobs/204624081/artifacts/install/share/doc/yade-ci/html/yade.libVersions.html#yade.libVersions.printAllVersions

[3] https://gitlab.com/yade-dev/trunk/blob/libVersions/py/libVersions.py.in

Edited by Janek Kozicki

Merge request reports