Skip to contentSkip to conversation

windows: install sched.h header

PATCH Superseded Tyler Retzlaff 3 participants 6 messages Dec 19, 2023 – May 29, 2024 Arm/Amlogic Meson SoC support

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 windows: install sched.h header

rte_os.h includes sched.h so install sched.h to allow DPDK installed to DESTDIR to be usable.

---
 lib/eal/windows/include/meson.build | 1 +
 1 file changed, 1 insertion(+)
lib/eal/windows/include/meson.build +1 -0
index 5fb1962..e985a77 100644
@@ -6,4 +6,5 @@ includes += include_directories('.')
 headers += files(
         'rte_os.h',
         'rte_windows.h',
+        'sched.h',
 )
Signature · 1 line
1.8.3.1
#3 lore raw
Quoted 6 lines · Thomas Monjalon

20/12/2023 10:11, Bruce Richardson:

Quoted 3 lines · Tyler Retzlaff
Quoted 2 lines

rte_os.h includes sched.h so install sched.h to allow DPDK installed to DESTDIR to be usable.

Why other files don't need to be exported as well?

after reviewing all other files it was found that only sched.h is being included by an installed / public header. all other headers in windows/include are used internally only.

Quoted 6 lines
Quoted 4 lines
Quoted 3 lines

---

That's a fix which may need to be backported.

found the commit that added sched.h and added a Fixes tag.

thanks!

#4 lore raw

PATCH v2 1/1 windows: install sched.h header

In reply to Tyler Retzlaff

rte_os.h includes sched.h so install sched.h to allow DPDK installed to DESTDIR to be usable.

Fixes e8428a9d89f1 ("eal/windows: add some basic functions and macros")

---

v2:
* reviewed all other headers to see if any should be added to the series, no other headers need to be installed as they are not exposed through already installed / public headers.

* add Fixes tag as suggested by Thomas

 lib/eal/windows/include/meson.build | 1 +
 1 file changed, 1 insertion(+)
lib/eal/windows/include/meson.build +1 -0
index 5fb1962..e985a77 100644
@@ -6,4 +6,5 @@ includes += include_directories('.')
 headers += files(
         'rte_os.h',
         'rte_windows.h',
+        'sched.h',
 )
Signature · 1 line
1.8.3.1