Skip to contentSkip to conversation

package/hawkracer: bump to latest git commit

PATCH Applied Fabrice Fontaine 2 participants 2 messages Sep 18, 2022 – Sep 21, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/hawkracer: bump to latest git commit

Drop patch (merged upstream)

---
 ...eatures.cmake-fix-DENABLE_CPU_USAGE_.patch | 38 -------------------
 package/hawktracer/hawktracer.hash            |  2 +-
 package/hawktracer/hawktracer.mk              |  2 +-
 3 files changed, 2 insertions(+), 40 deletions(-)
 delete mode 100644 package/hawktracer/0001-cmake-platform_features.cmake-fix-DENABLE_CPU_USAGE_.patch
package/hawktracer/0001-cmake-platform_features.cmake-fix-DENABLE_CPU_USAGE_.patch deleted +0 -38
deleted file mode 100644
index 5c8e6e9e65..0000000000
@@ -1,38 +0,0 @@
-From 65e78e2b972e2fab76b18732941ae611ec782dee Mon Sep 17 00:00:00 2001
-From: Fabrice Fontaine <[email protected]>
-Date: Fri, 12 Aug 2022 14:51:33 +0200
-Subject: [PATCH] cmake/platform_features.cmake: fix
- -DENABLE_CPU_USAGE_FEATURE=OFF
-
-Fix -DENABLE_CPU_USAGE_FEATURE=OFF to allow the user to disable
-CPU_USAGE and avoid the following build failure without threads:
-
-/home/giuliobenetti/autobuild/run/instance-2/output-1/build/hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8/lib/platform/linux/cpu_usage.c:5:10: fatal error: pthread.h: No such file or directory
-    5 | #include <pthread.h>
-      |          ^~~~~~~~~~~
-
-Fixes:
- - http://autobuild.buildroot.org/results/7edc29e21e441e66ad7c4df1673e506950930913
-
-Signed-off-by: Fabrice Fontaine <[email protected]>
-[Upstream status: https://github.com/amzn/hawktracer/pull/86]
----
- cmake/platform_features.cmake | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/cmake/platform_features.cmake b/cmake/platform_features.cmake
-index 1abbd41..8d7cfd9 100644
---- a/cmake/platform_features.cmake
-+++ b/cmake/platform_features.cmake
-@@ -18,7 +18,7 @@ macro(_validate_feature_enabled FEATURE_NAME VARIABLE)
- endmacro(_validate_feature_enabled)
- 
- macro(define_platform_feature FEATURE_NAME FEATURE_DEFAULT_FILE DEFAULT_ENABLE)
--    if (NOT "${DEFAULT_ENABLE}" STREQUAL "OFF" OR "${ENABLE_${FEATURE_NAME}_FEATURE}" STREQUAL "ON")
-+    if (NOT "${DEFAULT_ENABLE}" STREQUAL "OFF" AND NOT "${ENABLE_${FEATURE_NAME}_FEATURE}" STREQUAL "OFF")
-         set(OPTION_VALUE ON)
-     else()
-         set(OPTION_VALUE OFF)
--- 
-2.35.1
-
package/hawktracer/hawktracer.hash +1 -1
index 87aa67c4b6..47a8b35b6b 100644
@@ -1,3 +1,3 @@
 # Computed locally
-sha256  b6c7fdfbe8178bc7ba49ef840ec18a92d1488ad73ac9f64d2a09042410ad3ef4  hawktracer-e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8.tar.gz
+sha256  a48e26082fd644222d4a20ecfd5a34700865cf572d41b7eac5b0c8242fef9c5f  hawktracer-2ec19d71923344148928ef45fce549eda67030a4.tar.gz
 sha256  2f377333e64ad08ad3afec8ed6c2c96ced2a6d7d67443eb2784a931bb7b3fd59  LICENSE
package/hawktracer/hawktracer.mk +1 -1
index a14e2e2528..fd635e350d 100644
@@ -4,7 +4,7 @@
 #
 ################################################################################
 
-HAWKTRACER_VERSION = e53b07bc812c4cfe8f6253ddb48ac43de8fa74a8
+HAWKTRACER_VERSION = 2ec19d71923344148928ef45fce549eda67030a4
 HAWKTRACER_SITE = $(call github,amzn,hawktracer,$(HAWKTRACER_VERSION))
 HAWKTRACER_LICENSE = MIT
 HAWKTRACER_LICENSE_FILES = LICENSE
Signature · 6 lines
2.35.1

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 9 lines · On Sun, 18 Sep 2022 17:38:31 +0200 Fabrice Fontaine…

Drop patch (merged upstream)

---
 ...eatures.cmake-fix-DENABLE_CPU_USAGE_.patch | 38 -------------------
 package/hawktracer/hawktracer.hash            |  2 +-
 package/hawktracer/hawktracer.mk              |  2 +-
 3 files changed, 2 insertions(+), 40 deletions(-)
 delete mode 100644 package/hawktracer/0001-cmake-platform_features.cmake-fix-DENABLE_CPU_USAGE_.patch

Applied to master after fixing the minor typo in the commit title, thanks!

Thomas

Signature · 7 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot