Skip to content

Commit 35206be

Browse files
committed
Set the VM_VERSION to 7.0rc1/4.7rc1 (spur/v3).
Fix the macos Makefiles to have getversion depend on the file that defines VM_VERSION.
1 parent ed35486 commit 35206be

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed

building/macos32x86/common/Makefile.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ INCLUDES:= $(addprefix -I,. $(SRCDIRS))
131131
#############################################################################
132132
# Ensure version control info is up-to-date, and extract it from the file.
133133
#
134-
SCCSVER:=$(PLATDIR)/Cross/vm/sqSCCSVersion.h
134+
SCCSVER:=$(CROSSDIR)/sqSCCSVersion.h
135135

136136
ifneq ($(shell grep 'GitRawRevisionString.*$$Rev$$.' $(SCCSVER)),)
137137
$(shell bash -c "cd ../../../scripts; ./updateSCCSVersions")
@@ -149,7 +149,7 @@ svnver:
149149
@-echo $(SVNREV)
150150

151151
# N.B. getversion is *not* cross compiled; it must run here and now
152-
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqSCCSVersion.h
152+
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqVirtualMachine.h $(SCCSVER)
153153
$(CC) -x c -DVERSION_PROGRAM=1 $(INCLUDES) $(DEPFLAGS) $< -o $@
154154
$(POSTCOMPILE)
155155

building/macos64ARMv8/common/Makefile.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ INCLUDES:= $(addprefix -I,. $(SRCDIRS))
139139
#############################################################################
140140
# Ensure version control info is up-to-date, and extract it from the file.
141141
#
142-
SCCSVER:=$(PLATDIR)/Cross/vm/sqSCCSVersion.h
142+
SCCSVER:=$(CROSSDIR)/sqSCCSVersion.h
143143

144144
ifneq ($(shell grep 'GitRawRevisionString.*$$Rev$$.' $(SCCSVER)),)
145145
$(shell bash -c "cd ../../../scripts; ./updateSCCSVersions")
@@ -157,7 +157,7 @@ svnver:
157157
@-echo $(SVNREV)
158158

159159
# N.B. getversion is *not* cross compiled; it must run here and now
160-
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqSCCSVersion.h
160+
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqVirtualMachine.h $(SCCSVER)
161161
$(CC) -x c -DVERSION_PROGRAM=1 $(INCLUDES) $(DEPFLAGS) $< -o $@
162162
$(POSTCOMPILE)
163163

building/macos64x64/common/Makefile.vm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ INCLUDES:= $(addprefix -I,. $(SRCDIRS))
139139
#############################################################################
140140
# Ensure version control info is up-to-date, and extract it from the file.
141141
#
142-
SCCSVER:=$(PLATDIR)/Cross/vm/sqSCCSVersion.h
142+
SCCSVER:=$(CROSSDIR)/sqSCCSVersion.h
143143

144144
ifneq ($(shell grep 'GitRawRevisionString.*$$Rev$$.' $(SCCSVER)),)
145145
$(shell bash -c "cd ../../../scripts; ./updateSCCSVersions")
@@ -157,7 +157,7 @@ svnver:
157157
@-echo $(SVNREV)
158158

159159
# N.B. getversion is *not* cross compiled; it must run here and now
160-
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqSCCSVersion.h
160+
getversion: $(OSXCOMMONDIR)/version.c deps/version.d $(CROSSDIR)/sqVirtualMachine.h $(SCCSVER)
161161
$(CC) -x c -DVERSION_PROGRAM=1 $(INCLUDES) $(DEPFLAGS) $< -o $@
162162
$(POSTCOMPILE)
163163

platforms/Cross/vm/sqVirtualMachine.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@
77
#include "interp.h"
88

99
#if SPURVM
10-
# define VM_VERSION "5.0"
10+
# define VM_VERSION "7.0rc1"
1111
#else
12-
# define VM_VERSION "4.5"
12+
# define VM_VERSION "4.7rc1"
1313
#endif
1414

1515
#ifndef VM_PROXY_MAJOR

0 commit comments

Comments
 (0)