Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve portability #457

Merged
merged 4 commits into from
Dec 12, 2024
Merged

improve portability #457

merged 4 commits into from
Dec 12, 2024

Conversation

rbgarga
Copy link
Contributor

@rbgarga rbgarga commented Nov 29, 2024

  • configure: improve portability
  • libxdp: improve portability
  • configure: detect systems without gcc
  • libxdp: improve portability

No functional changes intended

@tohojo
Copy link
Member

tohojo commented Dec 2, 2024

The tests are failing, PTAL

@rbgarga rbgarga force-pushed the improve-portability branch 4 times, most recently from aa93a19 to b684c78 Compare December 10, 2024 15:32
@rbgarga
Copy link
Contributor Author

rbgarga commented Dec 10, 2024

@tohojo one test failed in one env, is it possible to try just that again? I wonder if it's related to the proposed change

BSD grep has no -P parameter, replace it by a sed pattern that works
both on GNU and BSDs.

Signed-off-by: Renato Botelho do Couto <[email protected]>
BSD sed fails with "extra characters at the end of p command" error
without the semicolon after p command while GNU sed works both ways.

Signed-off-by: Renato Botelho do Couto <[email protected]>
xdp_multiprog__dispatcher() was removed by f0a2055

Signed-off-by: Renato Botelho do Couto <[email protected]>
Use compiler to link.  While here, retire LD from configure since this
is not used anymore

Signed-off-by: Renato Botelho do Couto <[email protected]>
@rbgarga rbgarga force-pushed the improve-portability branch from b684c78 to eaf1ed4 Compare December 11, 2024 12:21
@tohojo tohojo merged commit 69a6939 into xdp-project:master Dec 12, 2024
29 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants