[PATCH 0/2] Fix clang build without numactl and without any code/optimization changes

Martin Kletzander posted 2 patches 1 year, 1 month ago
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/cover.1679312019.git.mkletzan@redhat.com
meson.build                |  20 --
po/POTFILES                |   2 +
src/util/meson.build       |  10 +
src/util/virnuma.c         | 427 +------------------------------------
src/util/virnuma_common.h  |  57 +++++
src/util/virnuma_numactl.c | 357 +++++++++++++++++++++++++++++++
src/util/virnuma_stubs.c   | 124 +++++++++++
7 files changed, 551 insertions(+), 446 deletions(-)
create mode 100644 src/util/virnuma_common.h
create mode 100644 src/util/virnuma_numactl.c
create mode 100644 src/util/virnuma_stubs.c
[PATCH 0/2] Fix clang build without numactl and without any code/optimization changes
Posted by Martin Kletzander 1 year, 1 month ago
See 1/2 for details, pipeline for this is here:

https://gitlab.com/nertpinx/libvirt/-/pipelines/811802916

Martin Kletzander (2):
  util: Separate numactl and stubs into different source files
  Revert "meson: stop CLang doing inter-procedural analysis"

 meson.build                |  20 --
 po/POTFILES                |   2 +
 src/util/meson.build       |  10 +
 src/util/virnuma.c         | 427 +------------------------------------
 src/util/virnuma_common.h  |  57 +++++
 src/util/virnuma_numactl.c | 357 +++++++++++++++++++++++++++++++
 src/util/virnuma_stubs.c   | 124 +++++++++++
 7 files changed, 551 insertions(+), 446 deletions(-)
 create mode 100644 src/util/virnuma_common.h
 create mode 100644 src/util/virnuma_numactl.c
 create mode 100644 src/util/virnuma_stubs.c

-- 
2.40.0