sources:
- https://github.com/m6w6/libmemcached
secrets:
- - 46f739e5-4538-45dd-a79f-bf173b7a2ed9
+ - 685c5b0a-395c-4031-97f8-97496bb6c25f
environment:
ENABLE_HASH_HSIEH: "ON"
ENABLE_MEMASLAP: "ON"
- package: |
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS_MANGZ=ON -S libmemcached -B release
cmake --build release -j2 --target package -- VERBOSE=
- cmake --build release -j2 --target push-artifact -- VERBOSE=
-
+ cmake --build release -j2 --target push-artifacts -- VERBOSE=
- tbb
sources:
- https://github.com/m6w6/libmemcached
+secrets:
+ - 685c5b0a-395c-4031-97f8-97496bb6c25f
environment:
ENABLE_HASH_HSIEH: "ON"
ENABLE_MEMASLAP: "OFF"
- package: |
cmake -DCMAKE_BUILD_TYPE=Release -DBUILD_DOCS_MANGZ=ON -S libmemcached -B release
cmake --build release -j2 --target package -- VERBOSE=
- cmake --build release -j2 --target push-artifact -- VERBOSE=
-
+ cmake --build release -j2 --target push-artifacts -- VERBOSE=
-find_program(SPHINX_EXECUTABLE NAMES sphinx-build
+find_program(SPHINX_EXECUTABLE NAMES sphinx-build sphinx-build-3
HINTS $ENV{SPHINX_DIR}
PATH_SUFFIXES bin
DOC "Sphinx documentation generator"
${BUILD_DOCS})
option(BUILD_DOCS_MANGZ "gzip manpages"
${BUILD_DOCS_MAN})
+if(BUILD_DOCS_MANGZ)
+ set(BUILD_DOCS_MAN ON CACHE BOOL "forced by BUILD_DOCS_MANGZ" FORCE)
+endif()
+if(BUILD_DOCS_MAN OR BUILD_DOCS_HTML)
+ set(BUILD_DOCS ON CACHE BOOL "forced by BUILD_DOCS_MAN OR BUILD_DOCS_HTML" FORCE)
+endif()
set(ENABLE_SANITIZERS "$ENV{ENABLE_SANITIZERS}"
CACHE STRING "sanitizers to enable (e.g. address;undefined ...)")
endif()
endif()
-if(BUILD_DOCS_MANGZ)
- set(BUILD_DOCS_MAN ON)
-endif()
-if(BUILD_DOCS_MAN OR BUILD_DOCS_HTML)
- set(BUILD_DOCS ON)
-endif()
if(BUILD_DOCS)
set(SPHINX_OPTIONS ""
CACHE STRING "additional sphinx-build command line options")
-find_program(M2R m2r)
+find_program(M2R NAMES m2r m2r-3)
if(M2R)
file(GLOB CHANGELOGS "${CMAKE_SOURCE_DIR}/ChangeLog-*.md")