regexdev: enable to be compiled on Windows
PATCH 1/1 regexdev: enable to be compiled on Windows
Now that mbuf is compiling on Windows, this library can be enabled as well.
--- lib/regexdev/meson.build | 6 ------ 1 file changed, 6 deletions(-)
lib/regexdev/meson.build +0 -6
@@ -1,12 +1,6 @@ # SPDX-License-Identifier: BSD-3-Clause # Copyright 2020 Mellanox Technologies, Ltd -if is_windows - build = false - reason = 'not supported on Windows' - subdir_done() -endif - sources = files('rte_regexdev.c') headers = files('rte_regexdev.h', 'rte_regexdev_driver.h') indirect_headers += files('rte_regexdev_core.h')
Signature · 1 line
2.49.0.vfs.0.2
Quoted 5 lines · Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well.
Signed-off-by Andre Muezerie <[email protected]>
The test-regex app can probably be compiled too. Yet.. why do you want to enable this library on Windows?
Support for this device class is defacto deprecated, as no vendor is providing recent hardware implementing this feature.
Also note that it was not built with clang on Windows so far (I did not double check this assertion, I just based on the fact this patch removes a is_windows, and not a is_ms_compiler).
Signature · 1 line
David Marchand
Quoted 11 lines · David Marchand
Quoted 5 lines · Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well.
Signed-off-by Andre Muezerie <[email protected]>The test-regex app can probably be compiled too. Yet.. why do you want to enable this library on Windows?
Quoted 8 lines
Support for this device class is defacto deprecated, as no vendor is providing recent hardware implementing this feature.
Also note that it was not built with clang on Windows so far (I did not double check this assertion, I just based on the fact this patch removes a
is_windows, and not ais_ms_compiler).
I was not aware this code was deprecated. You're right that it was not being compiled with Clang. This was just part of the effort to increase code compatibility on Windows.
I see no harm in enabling it, but at the same time, there's no clear benefit either. I'll let you decide what to do with this.
Quoted 2 lines
Signature · 1 line
David Marchand
16/05/2025 14:50, Andre Muezerie:
Quoted 21 lines · David Marchand
Quoted 11 lines
Quoted 5 lines · Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well.
Signed-off-by Andre Muezerie <[email protected]>The test-regex app can probably be compiled too. Yet.. why do you want to enable this library on Windows?
Quoted 8 lines
Support for this device class is defacto deprecated, as no vendor is providing recent hardware implementing this feature.
Also note that it was not built with clang on Windows so far (I did not double check this assertion, I just based on the fact this patch removes a
is_windows, and not ais_ms_compiler).
Quoted 6 lines
I was not aware this code was deprecated. You're right that it was not being compiled with Clang. This was just part of the effort to increase code compatibility on Windows.
I see no harm in enabling it, but at the same time, there's no clear benefit either. I'll let you decide what to do with this.
The benefit is to remove special handling for Windows, so I vote for enabling it.
There was no regex development recently but we never know how it could be used in future :)
Quoted 27 lines · Thomas Monjalon
16/05/2025 14:50, Andre Muezerie:
Quoted 25 lines · David Marchand
Quoted 11 lines
Quoted 5 lines · Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well.
Signed-off-by Andre Muezerie <[email protected]>The test-regex app can probably be compiled too. Yet.. why do you want to enable this library on Windows?
Quoted 8 lines
Support for this device class is defacto deprecated, as no vendor is providing recent hardware implementing this feature.
Also note that it was not built with clang on Windows so far (I did not double check this assertion, I just based on the fact this patch removes a
is_windows, and not ais_ms_compiler).I was not aware this code was deprecated. You're right that it was not being compiled with Clang. This was just part of the effort to increase code compatibility on Windows.
Quoted 7 lines
Quoted 2 lines
I see no harm in enabling it, but at the same time, there's no clear benefit either. I'll let you decide what to do with this.
The benefit is to remove special handling for Windows, so I vote for enabling it.
There was no regex development recently but we never know how it could be used in future :)
Well yes, there is no activity so adding this for Windows will probably not add much maintenance work..
Signature · 1 line
David Marchand
Quoted 5 lines · Andre Muezerie
Now that mbuf is compiling on Windows, this library can be enabled as well.
Signed-off-by Andre Muezerie <[email protected]>
I enabled app/test-regex at the same time.
Applied, thanks.
Signature · 1 line
David Marchand