From 62039afc31c0b665262d8988e88037bde7cb19fd Mon Sep 17 00:00:00 2001 From: Greg Lueck Date: Fri, 28 Jun 2024 18:10:47 -0400 Subject: [PATCH] Remove unused "OPENCL_VERSION" attribute Nothing seems to use this Asciidoc attribute, so remove it. I compared the HTML rendered output, and removing this attribute had no effect. --- adoc/Makefile | 6 ++---- adoc/syclbase.adoc | 1 - sycl_version.txt | 1 - 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/adoc/Makefile b/adoc/Makefile index a0086359..460ceb82 100644 --- a/adoc/Makefile +++ b/adoc/Makefile @@ -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 @@ -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)" \ diff --git a/adoc/syclbase.adoc b/adoc/syclbase.adoc index 95c0c36b..903661af 100644 --- a/adoc/syclbase.adoc +++ b/adoc/syclbase.adoc @@ -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!# diff --git a/sycl_version.txt b/sycl_version.txt index 97bd45b4..23206744 100644 --- a/sycl_version.txt +++ b/sycl_version.txt @@ -1,4 +1,3 @@ -OPENCLVERSION=3.0 SYCLLANGVERSION=2020 SYCLNAME=SYCL SYCLVERSION=2020