sumo: fix compilation with ccache 14146/head
authorRosen Penev <rosenp@gmail.com>
Sun, 6 Dec 2020 04:54:53 +0000 (20:54 -0800)
committerRosen Penev <rosenp@gmail.com>
Sun, 6 Dec 2020 06:42:49 +0000 (22:42 -0800)
sumo's builtin support for ccache doesn't work well with the one in
base. Remove it.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
utils/sumo/Makefile
utils/sumo/patches/010-ccache.patch [new file with mode: 0644]

index e467f91006053a3de586df7644461e11027417df..b5586de1689f2bf8f752fdeeaf03414247157333 100644 (file)
@@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=sumo
 PKG_VERSION:=1.7.0
-PKG_RELEASE:=1
+PKG_RELEASE:=2
 
 PKG_SOURCE:=$(PKG_NAME)-src-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=@SF/sumo
diff --git a/utils/sumo/patches/010-ccache.patch b/utils/sumo/patches/010-ccache.patch
new file mode 100644 (file)
index 0000000..fb0b89a
--- /dev/null
@@ -0,0 +1,15 @@
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -29,12 +29,6 @@ project(SUMO)
+ set(PACKAGE_VERSION "1.7.0")
+ cmake_minimum_required(VERSION 3.1)
+-find_program(CCACHE_FOUND "ccache")
+-if (CCACHE_FOUND AND CCACHE_SUPPORT)
+-  message(STATUS "Enabling ccache")
+-  set_property(GLOBAL PROPERTY RULE_LAUNCH_COMPILE "ccache")
+-endif()
+-
+ set(CMAKE_COLOR_MAKEFILE ON)
+ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/build/cmake_modules/")