From c018f46411c0794526e2be2c0e11fed7ab28877a Mon Sep 17 00:00:00 2001 From: Rosen Penev Date: Sat, 4 Apr 2020 14:04:33 -0700 Subject: [PATCH] libwangle: remove Signed-off-by: Rosen Penev --- libs/libwangle/Makefile | 42 ------------------- libs/libwangle/patches/010-c++14.patch | 11 ----- .../patches/020-no-boost-thread.patch | 11 ----- 3 files changed, 64 deletions(-) delete mode 100644 libs/libwangle/Makefile delete mode 100644 libs/libwangle/patches/010-c++14.patch delete mode 100644 libs/libwangle/patches/020-no-boost-thread.patch diff --git a/libs/libwangle/Makefile b/libs/libwangle/Makefile deleted file mode 100644 index 06338dc5a..000000000 --- a/libs/libwangle/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -include $(TOPDIR)/rules.mk - -PKG_NAME:=libwangle -PKG_VERSION:=2019.10.07.00 -PKG_RELEASE:=1 - -PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz -PKG_SOURCE_URL:=https://codeload.github.com/facebook/wangle/tar.gz/v$(PKG_VERSION)? -PKG_HASH:=b030fbff5f346ba4e50e97fc452b321f1f32b215ba7a31e1538c2996b76cf1e9 -PKG_BUILD_DIR:=$(BUILD_DIR)/wangle-$(PKG_VERSION) - -PKG_MAINTAINER:=Amol Bhave -PKG_LICENSE:=Apache-2.0 -PKG_LICENSE_FILES:=LICENSE - -PKG_BUILD_PARALLEL:=1 -CMAKE_SOURCE_SUBDIR:=wangle -CMAKE_INSTALL:=1 - -include $(INCLUDE_DIR)/package.mk -include $(INCLUDE_DIR)/cmake.mk - -define Package/libwangle - SECTION:=libs - CATEGORY:=Libraries - TITLE:=Wangle: C++ networking library - URL:=https://github.com/facebook/wangle - DEPENDS:=+libfizz -endef - -TARGET_CXXFLAGS += -ffunction-sections -fdata-sections -TARGET_LDFLAGS += -Wl,--gc-sections,--as-needed - -CMAKE_OPTIONS += \ - -DBUILD_SHARED_LIBS=ON - -define Package/libwangle/install - $(INSTALL_DIR) $(1)/usr/lib - $(CP) $(PKG_INSTALL_DIR)/usr/lib/libwangle.so* $(1)/usr/lib/ -endef - -$(eval $(call BuildPackage,libwangle)) diff --git a/libs/libwangle/patches/010-c++14.patch b/libs/libwangle/patches/010-c++14.patch deleted file mode 100644 index 46b128119..000000000 --- a/libs/libwangle/patches/010-c++14.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/wangle/CMakeLists.txt -+++ b/wangle/CMakeLists.txt -@@ -9,7 +9,7 @@ cmake_minimum_required(VERSION 3.0.2) - - project("wangle" VERSION 1.0.0 LANGUAGES CXX C) - --add_compile_options(-std=c++1z) -+add_compile_options(-std=c++14) - set(CMAKE_POSITION_INDEPENDENT_CODE ON) - set(CMAKE_MODULE_PATH - "${CMAKE_CURRENT_SOURCE_DIR}/cmake/" diff --git a/libs/libwangle/patches/020-no-boost-thread.patch b/libs/libwangle/patches/020-no-boost-thread.patch deleted file mode 100644 index 375e57a73..000000000 --- a/libs/libwangle/patches/020-no-boost-thread.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/wangle/CMakeLists.txt -+++ b/wangle/CMakeLists.txt -@@ -56,7 +56,7 @@ if (NOT folly_FOUND) - endif() - - find_package(fizz CONFIG REQUIRED) --find_package(Boost REQUIRED COMPONENTS system thread filesystem regex context -+find_package(Boost REQUIRED COMPONENTS system filesystem regex context - program_options) - find_package(OpenSSL REQUIRED) - find_package(Glog REQUIRED)