summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-support/glog
Commit message (Collapse)AuthorAgeFilesLines
* meta-openembedded/all: adapt to UNPACKDIR changesAlexander Kanavin2025-06-251-1/+0
| | | | | | | | | | | | | Please see https://git.yoctoproject.org/poky/commit/?id=4dd321f8b83afecd962393101b2a6861275b5265 for what changes are needed, and sed commands that can be used to make them en masse. I've verified that bitbake -c patch world works with these, but did not run a world build; the majority of recipes shouldn't need further fixups, but if there are some that still fall out, they can be fixed in followups. Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: upgrade 0.6.0 -> 0.7.1Yi Zhao2024-10-123-77/+3
| | | | | | | | | | | | ChangeLog: https://github.com/google/glog/releases/tag/v0.7.0 https://github.com/google/glog/releases/tag/v0.7.1 Drop 0001-Change-SleepForMilliseconds-parameter-from-unsigned-.patch and libexecinfo.patch as the issues have been fixed upstream. Signed-off-by: Yi Zhao <yi.zhao@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Disable 64bit atomics on armv{5,6}Patrick Williams2023-12-011-0/+2
| | | | | | | | The ARMv5 and ARMv6 architectures do not support 64-bit atomics, so disable them. Signed-off-by: Patrick Williams <patrick@stwcx.xyz> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* meta-oe-components: Avoid usage of nobranch=1Sourav Kumar Pramanik2023-09-071-1/+1
| | | | | | | | | The usage of nobranch=1 in SRC_URI allows using unprotected branches. This change updates the real branch name in place of nobranch=1 for these components. Signed-off-by: Sourav Kumar Pramanik <pramanik.souravkumar@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Correct the packaging of /usr/share/glog/cmake/FindUnwind.cmakePeter Kjellerstedt2023-06-081-0/+2
| | | | | | | It belongs in the glog-dev package. Signed-off-by: Peter Kjellerstedt <peter.kjellerstedt@axis.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Disable 64bit atomics on rv32Khem Raj2023-03-041-1/+1
| | | | | | | | Fixes riscv32-yoe-linux-ld: CMakeFiles/logging_unittest.dir/src/logging_unittest.cc.o: in function `no symbol': /usr/include/c++/v1/vector:835: undefined reference to `__atomic_load_8' Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Fix build with clang on 32bit platformsKhem Raj2023-02-182-0/+34
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Link with libatomics on mips.Khem Raj2023-02-181-1/+4
| | | | | | | Mips does not have 64bit atomic builtins therefore link with libatomic we might need same for armv5 and ppc32 too. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: upgrade 0.5.0 -> 0.6.0Wang Mingyu2023-02-182-7/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libexecinfo.patch refreshed for new version. Changelog: =========== bazel: Use glog 0.5.0 in README Expose IsGoogleLoggingInitialized() in public API. Fix cmake configuration for cygwin environment Allow updating vmodule levels after vmodule level has been cached Export COPYING cmake: fixed msvc snprintf detection (fixes #668) cmake: allow to override -fPIC cmake: export <atomic> availability (fixes #667) Remove ubuntu1604 from presubmit.yml bazel: add GLOG_CUSTOM_PREFIX_SUPPORT log messages periodically (time-based) ci: support more targets cmake: prefer linking against gflags::gflags (fixes #683) Fix syscall deprecation warning on macOS >= 10.12 fixed exception specification mismatch readme: fix wrong header id eliminate warnings fixed additional warnings Add an static cast to compare unsigned with unsigned Fix: not implement virtual class when WITH_CUSTOM_PREFIX on Change size type in AnnotateBenignRaceSized to size_t from long Fix link error for Emscripten raw_logging.h depends on type definition in logging.h. export OS_* defines (fixes #715) Fix syscall warning in Bazel Build Add -Werror to Bazel presubmits added gmock support Support stack unwind on Android add linux github workflow ci: replace generated headers by templates add mock log test added log cleaner tests and fixed paths Make LogCleaner support relative paths cmake: Fix incorrect relative-path concatenation Restore the stream format after writing the log prefix fix glog-modules.cmake install protect VLOG by use_logging Fix log filename format Add Zhuoran Shen to AUTHORS and CONTRIBUTORS ci: reworked windows builds cmake: set CMP0074 policy ci: use codecov token Added gmtoff() method in 'LogMessageTime' to get GMT offset LogCleaner: Fix relative paths and add a new test eliminate msvc warnings cmake: require at least version 3.16 ci: enable warnings as errors LogCleaner: make overdue_days_ unsigned int ci: remove deprecated msvc runner provide backward compatible send overload run clang-tidy eliminate clang warnings ensure _Unwind_Backtrace to actually be available cmake: do not search for platform specific unwind revert to signed int atomics Add the "FLAG_log_year_in_prefix" use uint32 for --max-log-size stdcxx: eliminate excessive use of std::string::c_str() cmake: require at least gflags 2.2.2 Changed my Email ID On Solaris, GetHostName() returns empty string LogCleaner: avoid scanning logs too frequently libglog.pc: Set Libs.private for static linking cmake: enable custom prefix by default simplify flags export rename GOOGLE_GLOG_DLL_DECL to GLOG_EXPORT cmake_package_config_generate: Fix CMake warnings with CMake 3.23 Tests: Respect TEST_TMPDIR, TMPDIR, TMP environmental variables Add the logtostdout and colorlogtostdout flag to allow logging to stdout Add clang-cl.exe to Bazel CI Fix "'GLOG_EXPORT' macro redefined" on clang-cl Fix namespace resolution issue in LOG_EVERY_T Signed-off-by: Wang Mingyu <wangmy@fujitsu.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes: Update SRC_URI branch and protocolsRichard Purdie2021-11-031-1/+1
| | | | | | | | | This patch updates SRC_URIs using git to include branch=master if no branch is set and also to use protocol=https for github urls as generated by the conversion script in OE-Core. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Convert to new override syntaxMartin Jansa2021-08-031-5/+5
| | | | | | | | | | This is the result of automated script (0.9.1) conversion: oe-core/scripts/contrib/convert-overrides.py . converting the metadata to use ":" as the override character instead of "_". Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glog: Upgrade to 0.5.0Khem Raj2021-06-023-128/+8
| | | | | | | Libunwind is being detected now via cmake correctly Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Martin Jansa <Martin.Jansa@gmail.com>
* glog: fix searching for LibunwindMartin Jansa2021-03-111-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * it used to be part of 0003-installation-path-fix.patch which was removed during the upgrade to 0.4.0 and now some recipes (e.g. mtp-server from meta-luneos) are failing like: CMake Error at /OE/build/luneos-hardknott/webos-ports/tmp-glibc/work/tissot-webos-linux/mtp-server/0.0.3+gitAUTOINC+bb4a81e61b-r0/recipe-sysroot-native/usr/share/cmake-3.19/Modules/CMakeFindDependencyMacro.cmake:47 (find_package): By not providing "FindLibunwind.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "Libunwind", but CMake did not find one. Could not find a package configuration file provided by "Libunwind" with any of the following names: LibunwindConfig.cmake libunwind-config.cmake Add the installation prefix of "Libunwind" to CMAKE_PREFIX_PATH or set "Libunwind_DIR" to a directory containing one of the above files. If "Libunwind" provides a separate development package or SDK, be sure it has been installed. Call Stack (most recent call first): /OE/build/luneos-hardknott/webos-ports/tmp-glibc/work/tissot-webos-linux/mtp-server/0.0.3+gitAUTOINC+bb4a81e61b-r0/recipe-sysroot/usr/lib/cmake/glog/glog-config.cmake:35 (find_dependency) CMakeLists.txt:17 (find_package) because LibunwindConfig.cmake is provided by glog as: recipe-sysroot/usr/lib/cmake/glog/FindLibunwind.cmake but this directory wasn't searched by CMake. Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Link with libexecinfo on muslKhem Raj2021-03-082-0/+33
| | | | | | | some platforms e.g. riscv do not yet have libunwind ported so use libexecinfo instead Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Upgrade to 0.4.0Khem Raj2021-03-014-161/+21
| | | | | | | Drop upstreamed patch Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com>
* glog : improve reproducibilityLee Chee Yang2020-10-011-0/+7
| | | | | | | remove WORKDIR info from config file to improve reproducibility Signed-off-by: Lee Chee Yang <chee.yang.lee@intel.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* recipes,packagegroups: Remove libunwind deps for riscvKhem Raj2020-04-251-4/+5
| | | | | | | | since libunwind is not buildable, it results in glog not being buildable and that results in ceres-solver and gperftools opencv needs glob to eenable libeigen Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: fix do_fetch errorQuanyang Wang2019-12-231-1/+1
| | | | | | | | | | This fixes the build error as below: WARNING: glog-0.3.5-r0 do_fetch: Failed to fetch URL git://github.com/google/glog.git;branch=v035, attempting MIRRORS if available ERROR: glog-0.3.5-r0 do_fetch: Fetcher failure: Unable to find revision a6a166db069520dbbd653c97c2e5b12e08a8bb26 in branch v035 even from upstream ERROR: glog-0.3.5-r0 do_fetch: Fetcher failure for URL: 'git://github.com/google/glog.git;branch=v035'. Unable to fetch URL from any source. Signed-off-by: Quanyang Wang <quanyang.wang@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: fix installation pathVyacheslav Yurkov2018-12-052-0/+66
| | | | | | | | | When glog is compiled with multilib support, it shouldn't use hardcoded paths. Paths substitued by CMake should be used instead. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Tested-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: fixed the build for mips and other platformsVyacheslav Yurkov2018-11-261-23/+30
| | | | | | | | | | According to build log http://errors.yoctoproject.org/Errors/Details/201286/ FindLibunwind wokred only for x86, arm, and x86_64. This patch extends the cmake module to work with mips, ia64, ppc(64) and other architectures supported by libunwind Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: updated libunwind look up functionVyacheslav Yurkov2018-11-053-34/+115
| | | | | | | | | | | Updated FindLinunwind cmake file to locate libunwind properly in the system. This includes settings all needed defines in config.h file, which are used for glog compilation. Changed unwind cmake target to interface, because in cross-compilation environment we could link against several libunwind shared libraries. Signed-off-by: Vyacheslav Yurkov <Vyacheslav.Yurkov@bruker.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: enable building shared library againMartin Jansa2018-10-152-0/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * fix the soversion used by libglog as explained bellow: The preferred default should IMHO be the same as with 0.3.4 version which was shared library, but that's easy to add with small bbappend having: EXTRA_OECMAKE += "-DBUILD_SHARED_LIBS=ON" but unfortunately the SONAME in the library changed from: objdump -x usr/lib/libglog.so.0.0.0 | grep SONAME SONAME libglog.so.0 in 0.3.4 to: objdump -x usr/lib/libglog.so.0.3.5 | grep SONAME SONAME libglog.so.0.3.5 Which breaks all our prebuilt binaries which now correctly complain that there isn't libglog.so.0 provider in dependencies: QA Issue: /usr/lib/libfoo.so.1.2.3 contained in package libfoo requires libglog.so.0, but no providers found in RDEPENDS_libfoo Which is quite unfortunate for minor upgrade. Did they really change the ABI (and expect to change it in all future minor upgrades) or is this change just unexpected side-effect of using cmake instead of autotools? It looks the later, because if I build 0.3.5 version with autotools I get: objdump -x usr/lib/libglog.so.0.0.0 | grep SONAME SONAME libglog.so.0 and there is patch for SOVERSION here as well: https://github.com/google/or-tools/blob/master/patches/glog.patch applied in master: https://github.com/google/glog/blob/master/CMakeLists.txt#L493 https://github.com/google/glog/commit/6b6e38a7d53fe01f42ce34384cf4ba4c50e8cb65#diff-af3b638bc2a3e6c650974192a53c7291 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: upgrade 0.3.4 -> 0.3.5Vyacheslav Yurkov2018-10-083-41/+37
| | | | | | | | | | | | | | | | Upgraded glog recipe to a new stable version in favor of cmake configuration Old configure.ac patch is removed. Another cmake patch is added. When UNWIND_LIBRARY is used directly as a public dependency then absolute path is stored in cmake config file. This is an issue when glog is used as part of generated SDK, which was built on another machine. When SDK is installed on developer's machine, cmake config contains a full path to non-existent location. The solution is to find libunwind during configure stage and store target name as a dependency, not a full path Signed-off-by: Vyacheslav Yurkov <uvv.mail@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* glog: Update to version 0.3.4Ricardo Ribalda Delgado2016-08-154-17/+58
| | | | | | | | | | -The repository has been moved to github. -There is a new release 0.3.4 -Add a user configurable dependency on gflag -Merge .inc file on the recipe Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glog: add dependency on libunwindMartin Jansa2013-07-201-0/+2
| | | | | | | * it's autodetected from sysroot and configure doesn't have parameter to explicitly disable it so PACKAGECONFIG won't work OOTB Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* glog: add 0.3.3 versionMarcin Juszkiewicz2013-03-292-0/+15
The glog library implements application-level logging. This library provides logging APIs based on C++-style streams and various helper macros. glog.inc cause meta-linaro has glog_svn.bb recipe as well Signed-off-by: Marcin Juszkiewicz <marcin.juszkiewicz@linaro.org> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>