Skip to content

Commit

Permalink
Remove unused "OPENCL_VERSION" attribute
Browse files Browse the repository at this point in the history
Nothing seems to use this Asciidoc attribute, so remove it.

I compared the HTML rendered output, and removing this attribute
had no effect.
  • Loading branch information
gmlueck committed Jun 28, 2024
1 parent 1b4d5b6 commit 62039af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
6 changes: 2 additions & 4 deletions adoc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -63,9 +63,8 @@ PDFMATHDIR = $(OUTDIR)/equations_temp
# Set VERBOSE to -v to --verbose to see what asciidoc is doing.
VERBOSE = --verbose

# Some AsciiDoctor attributes (such as OPENCL_VERSION,
# SYCL_LANGUAGE_VERSION, SYCL_NAME, SYCL_VERSION & SYCL_REVISION) are
# based on this external configuration file:
# Some AsciiDoctor attributes (such as SYCL_LANGUAGE_VERSION, SYCL_NAME,
# 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
Expand Down Expand Up @@ -114,7 +113,6 @@ COMMIT_SHA = $(shell echo `git log -1 --format="%H" 2> /dev/null \
# 'refprefix.' for refpages (see ADOCREFOPTS below).
ATTRIBOPTS = --attribute revdate="$(SPECDATE)" \
--attribute revremark="$(SPECREMARK)" \
--attribute OPENCL_VERSION="$(OPENCLVERSION)" \
--attribute SYCL_LANGUAGE_VERSION="$(SYCLLANGVERSION)" \
--attribute SYCL_NAME="$(SYCLNAME)" \
--attribute SYCL_VERSION="$(SYCLVERSION)" \
Expand Down
1 change: 0 additions & 1 deletion adoc/syclbase.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

// This should be set by the Makefile based on values in
// ../sycl_version.txt, passed into the asciidoctor command line.
:OPENCL_VERSION: [red]#Unknown OPENCL_VERSION!#
:SYCL_LANGUAGE_VERSION: [red]#Unknown SYCL_LANGUAGE_VERSION!#
:SYCL_NAMEA: [red]#Unknown SYCL_NAME!#
:SYCL_VERSION: [red]#Unknown SYCL_VERSION!#
Expand Down
1 change: 0 additions & 1 deletion sycl_version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
OPENCLVERSION=3.0
SYCLLANGVERSION=2020
SYCLNAME=SYCL
SYCLVERSION=2020
Expand Down

0 comments on commit 62039af

Please sign in to comment.