Skip to content

Commit

Permalink
buildsys: always generate sysinfo.gap
Browse files Browse the repository at this point in the history
By accident, sysinfo.gap was only generated if the "compatibility mode"
of the build system was enabled. This is currently still on by default,
but I'd like to change that in a future release of GAP. This is a first
step towards this goal.
  • Loading branch information
fingolfin committed Nov 22, 2018
1 parent 2b2adaf commit ebe360c
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions Makefile.rules
Original file line number Diff line number Diff line change
Expand Up @@ -658,15 +658,6 @@ distclean-extern:
rm -rf extern/install


########################################################################
# Compatibility mode
#
# If enabled, we prepare the environment to look like it did with
# the old build system, thus enabling existing packages with kernel
# extensions to be compiled against this version of GAP/
########################################################################
ifeq ($(COMPAT_MODE),yes)

# regenerate sysinfo.gap if necessary
all: sysinfo.gap
sysinfo.gap: config.status $(srcdir)/Makefile.rules cnf/GAP-CFLAGS cnf/GAP-CPPFLAGS cnf/GAP-CXXFLAGS cnf/GAP-LDFLAGS cnf/GAP-LIBS
Expand Down Expand Up @@ -694,6 +685,16 @@ sysinfo.gap: config.status $(srcdir)/Makefile.rules cnf/GAP-CFLAGS cnf/GAP-CPPFL
@echo "" >> $@
@echo "JULIA=\"$(JULIA)\"" >> $@


########################################################################
# Compatibility mode
#
# If enabled, we prepare the environment to look like it did with
# the old build system, thus enabling existing packages with kernel
# extensions to be compiled against this version of GAP/
########################################################################
ifeq ($(COMPAT_MODE),yes)

# regenerate bin/gap.sh if necessary
all: bin/gap.sh
bin/gap.sh: $(srcdir)/cnf/compat/gap.sh.in config.status
Expand Down

0 comments on commit ebe360c

Please sign in to comment.