]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
cmake: exclude "grafonnet-lib" target from "all" 42898/head
authorKefu Chai <kchai@redhat.com>
Fri, 20 Aug 2021 14:50:40 +0000 (22:50 +0800)
committerNathan Cutler <ncutler@suse.com>
Mon, 23 Aug 2021 15:27:04 +0000 (17:27 +0200)
so we don't build this target when running "make", and hence avoid
accessing the internet in a building envronment where the internest
access is not allowed.

Signed-off-by: Kefu Chai <kchai@redhat.com>
(cherry picked from commit 1835fd86ddfe7f00e9ec3124fa1425e53cd7a930)

Conflicts:
monitoring/grafana/dashboards/CMakeLists.txt
- pacific does not have "LOG_DOWNLOAD ON", "LOG_MERGED_STDOUTERR ON", or
  "LOG_OUTPUT_ON_FAILURE ON", but that fact is orthogonal to the substance of
  this backport

monitoring/grafana/dashboards/CMakeLists.txt

index c97fee6f9af32ba4b1b6c6c43f1ae5e06d12299e..65037cbd843ad242415463529cb0dd398947d5b5 100644 (file)
@@ -21,7 +21,8 @@ if(WITH_GRAFANA)
     URL_MD5 0798752ed40864fa8b3db40a3c970642
     BUILD_COMMAND ""
     CONFIGURE_COMMAND ""
-    INSTALL_COMMAND "")
+    INSTALL_COMMAND ""
+    EXCLUDE_FROM_ALL ON)
   add_dependencies(tests
     ${name})
   ExternalProject_Get_Property(${name} SOURCE_DIR)