mirror of
https://git.proxmox.com/git/llvm-toolchain
synced 2025-07-27 14:41:38 +00:00
disable the doc on old distro
This commit is contained in:
parent
415af43d6b
commit
ed11684ffe
1
debian/changelog
vendored
1
debian/changelog
vendored
@ -2,6 +2,7 @@ llvm-toolchain-snapshot (1:18~++20230921012857+4cf8da94198d-1~exp1) UNRELEASED;
|
|||||||
|
|
||||||
* replace python3-recommonmark by myst-parser
|
* replace python3-recommonmark by myst-parser
|
||||||
to follow upstream change b7ff03206d668cd5a620a9d4e1b22ea112ed56e3
|
to follow upstream change b7ff03206d668cd5a620a9d4e1b22ea112ed56e3
|
||||||
|
And disable generation of the doc on old distro
|
||||||
|
|
||||||
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 25 Sep 2023 21:51:52 +0200
|
-- Sylvestre Ledru <sylvestre@debian.org> Mon, 25 Sep 2023 21:51:52 +0200
|
||||||
|
|
||||||
|
12
debian/rules
vendored
12
debian/rules
vendored
@ -412,6 +412,13 @@ ifeq (,$(filter-out $(LIBCXX_WASM_DISABLE_DISTRO), $(DISTRO)))
|
|||||||
LIBCXX_WASM_ENABLE=no
|
LIBCXX_WASM_ENABLE=no
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
DOC_GENERATION=yes
|
||||||
|
DOC_GENERATION_DISTRO := buster bullseye bionic focal
|
||||||
|
# LLVM upstream moved to myst_parser but it isn't available on old distro
|
||||||
|
ifeq (,$(filter-out $(DISABLE_DOC_GENERATION_DISTRO), $(DISTRO)))
|
||||||
|
DOC_GENERATION=no
|
||||||
|
endif
|
||||||
|
|
||||||
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe))
|
ifneq (,$(filter $(DEB_HOST_ARCH),powerpc powerpcspe))
|
||||||
LIBCXX_WASM_ENABLE=no
|
LIBCXX_WASM_ENABLE=no
|
||||||
endif
|
endif
|
||||||
@ -967,6 +974,10 @@ override_dh_auto_build: \
|
|||||||
override_dh_prep: build_doc
|
override_dh_prep: build_doc
|
||||||
dh_prep
|
dh_prep
|
||||||
|
|
||||||
|
ifeq ($(DOC_GENERATION), no)
|
||||||
|
build_doc:
|
||||||
|
@echo "Don't build doc on this distro $(DISTRO)"
|
||||||
|
else
|
||||||
build_doc:
|
build_doc:
|
||||||
BUILDDIR="_build"; \
|
BUILDDIR="_build"; \
|
||||||
ALLSPHINXOPTS="-d $$BUILDDIR/doctrees ."; \
|
ALLSPHINXOPTS="-d $$BUILDDIR/doctrees ."; \
|
||||||
@ -1028,6 +1039,7 @@ endif
|
|||||||
cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \
|
cd openmp/runtime/doc/doxygen/generated/html/ && rm jquery.js && ln -s /usr/share/javascript/jquery/jquery.js; \
|
||||||
fi
|
fi
|
||||||
touch $@
|
touch $@
|
||||||
|
endif
|
||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
# Clean up temporary files to make sure the install works
|
# Clean up temporary files to make sure the install works
|
||||||
|
Loading…
Reference in New Issue
Block a user