windows: install sched.h header
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
@@ -6,4 +6,5 @@ includes += include_directories('.') headers += files( 'rte_os.h', 'rte_windows.h', + 'sched.h', )
Signature · 1 line
1.8.3.1
Quoted 5 lines · Tyler Retzlaff
rte_os.hincludessched.hso installsched.hto allow DPDK installed to DESTDIR to be usable.Signed-off-by Tyler Retzlaff <[email protected]>---
20/12/2023 10:11, Bruce Richardson:
Quoted 3 lines · Tyler Retzlaff
Quoted 2 lines
rte_os.hincludessched.hso installsched.hto allow DPDK installed to DESTDIR to be usable.
Why other files don't need to be exported as well?
Quoted 3 lines
Quoted 2 lines
Signed-off-by Tyler Retzlaff <[email protected]>---
Acked-by Bruce Richardson <[email protected]>
That's a fix which may need to be backported.
PATCH v2 1/1 windows: install sched.h header
In reply to Tyler Retzlaffrte_os.h includes sched.h so install sched.h to allow DPDK installed to DESTDIR to be usable.
---
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
@@ -6,4 +6,5 @@ includes += include_directories('.') headers += files( 'rte_os.h', 'rte_windows.h', + 'sched.h', )
Signature · 1 line
1.8.3.1
Quoted 6 lines · Thomas Monjalon
20/12/2023 10:11, Bruce Richardson:
Quoted 3 lines · Tyler Retzlaff
Quoted 2 lines
rte_os.hincludessched.hso installsched.hto 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
Signed-off-by Tyler Retzlaff <[email protected]>---
Acked-by Bruce Richardson <[email protected]>That's a fix which may need to be backported.
found the commit that added sched.h and added a Fixes tag.
thanks!
Thomas Monjalon
Applied12/03/2024 18:54, Tyler Retzlaff:
Quoted 9 lines
rte_os.hincludessched.hso installsched.hto allow DPDK installed to DESTDIR to be usable.Fixes e8428a9d89f1 ("eal/windows: add some basic functions and macros")Signed-off-by Tyler Retzlaff <[email protected]>Acked-by Bruce Richardson <[email protected]>
Applied, thanks.