build: add knob to disable vcl 22/43222/2
authorDamjan Marion <[email protected]>
Wed, 18 Jun 2025 12:20:35 +0000 (14:20 +0200)
committerFlorin Coras <[email protected]>
Wed, 18 Jun 2025 17:38:53 +0000 (17:38 +0000)
VCL doesn't work with musl.

Type: improvement
Change-Id: I5cb69da680dc98d14d88e340b4db6b5a8584ff23
Signed-off-by: Damjan Marion <[email protected]>
src/plugins/hs_apps/CMakeLists.txt
src/vcl/CMakeLists.txt

index 1d83175..a301053 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
+if(NOT VPP_BUILD_VCL)
+  return()
+endif()
+
 ##############################################################################
 # vpp builtin hs apps
 ##############################################################################
index c8835e7..2787ce6 100644 (file)
 ##############################################################################
 # vppcom shared library
 ##############################################################################
+
+option(VPP_BUILD_VCL "Build VCL" ON)
+if(NOT VPP_BUILD_VCL)
+  return()
+endif(NOT VPP_BUILD_VCL)
+
 add_vpp_library(vppcom
   SOURCES
   vppcom.c