Skip to content

Commit

Permalink
Prepare for next SYCL spec major release
Browse files Browse the repository at this point in the history
Update the SYCL version number from "2020" to "NEXT".

Also simplify some of the macros in the Makefile related to SYCL
version.  I verified this cleanup has no effect on the generated HTML by
comparing the HTML before and after this change.

NOTE: The generated spec output file names are now changed from
"sycl-2020.html" to "sycl-next.html" and from "sycl-2020.pdf" to
"sycl-next.pdf".
  • Loading branch information
gmlueck committed Aug 30, 2024
1 parent 649dc03 commit 302bc9a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
8 changes: 1 addition & 7 deletions adoc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -67,14 +67,8 @@ VERBOSE = --verbose
# SYCL_VERSION & SYCL_REVISION) are based on this external configuration file:
include $(SYCL_DIR)/sycl_version.txt

# In particular, SYCL_LANGUAGE_VERSION is derived from other values
SYCL_LANGUAGE_VERSION=$(shell printf "%04d%02d" $(SYCLLANGVERSION) \
$(SYCLREVISION))
SYCL_NAME=$(SYCLNAME)
SYCL_VERSION=$(SYCLVERSION)
SYCL_REVISION=$(SYCLREVISION)
# Name the generated spec from the revision
SPEC_BASE_NAME=$(shell echo $(SYCL_NAME)-$(SYCL_VERSION) \
SPEC_BASE_NAME=$(shell echo $(SYCLNAME)-$(SYCLVERSION) \
| tr [:upper:] [:lower:])

# asciidoc build attributes to set (defaults are usually OK)
Expand Down
6 changes: 3 additions & 3 deletions sycl_version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
SYCLLANGVERSION=2020
SYCLLANGVERSION=NEXT
SYCLNAME=SYCL
SYCLVERSION=2020
SYCLREVISION=10
SYCLVERSION=NEXT
SYCLREVISION=1

0 comments on commit 302bc9a

Please sign in to comment.