Set GAP_KERNEL_API_VERSION
in configure.ac
, use it to modify GAPARCH
#2390
Labels
kind: enhancement
Label for issues suggesting enhancements; and for pull requests implementing enhancements
topic: build system
topic: kernel
Currently, we #define
GAP_KERNEL_API_VERSION
insrc/modules.h
, with the idea being that we increment it when there are kernel API / ABI changes that cause incompatibilities.We should consider changing this so that we set the API/ABI version in
configure.ac
, and then propagate this tosrc/modules.h
. This has the advantage that we can, in the future, use this to adapt howlibgap
shared library is built and named. Moreover, we can use it to modify the GAPARCH string; this then will cause kernel extensions in packages to be built in a different directory, which in turn is useful if one is using several mutually incompatible GAP versions in parallel.I can't think of any drawbacks right now.
The text was updated successfully, but these errors were encountered: