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

lib/posix-*: Fix missing/unneeded dependencies #1393

Merged
merged 3 commits into from May 21, 2024

Conversation

andreittr
Copy link
Contributor

Description of changes

This changeset fixes a number of missing or unneeded Kconfig dependencies. See individual commits for details.

Prerequisite checklist

  • Read the contribution guidelines regarding submitting new changes to the project;
  • Tested your changes against relevant architectures and platforms;
  • Ran the checkpatch.uk on your commit series before opening this PR;
  • Updated relevant documentation.

Base target

  • Architecture(s): [e.g. x86_64 or N/A]
  • Platform(s): [e.g. kvm, xen or N/A]
  • Application(s): [e.g. app-python3 or N/A]

Additional configuration

N/A

This change adds a Kconfig dependency to ukatomic on several libraries
that were written before the ukatomic split-off. This makes their using
atomic operations explicit.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
This change removes the Kconfig dependency on LIBUKLOCK as well as
inclusion of <uk/mutex.h> as these were not used.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
This change adds a conditional dependency on (no)libc, required because
ukfile uses many libc-provided types.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
@andreittr andreittr requested a review from a team as a code owner April 24, 2024 10:32
@github-actions github-actions bot added area/lib Internal Unikraft Microlibrary lang/c Issues or PRs to do with C/C++ labels Apr 24, 2024
@razvand razvand self-assigned this Apr 28, 2024
@razvand razvand requested review from robertZamfir601 and removed request for a team April 28, 2024 05:32
@razvand razvand added this to the v0.17.0 (Calypso) milestone Apr 28, 2024
Copy link

@rares-miculescu rares-miculescu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good on my side.

Reviewed-by: Rares Miculescu miculescur@gmail.com

Copy link

@robertZamfir601 robertZamfir601 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me

Reviewed-by: Robert Zamfir georobi.016@gmail.com

Copy link
Contributor

@razvand razvand left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved-by: Razvan Deaconescu razvand@unikraft.io

@razvand razvand changed the base branch from staging to staging-1393 May 21, 2024 20:35
@razvand razvand merged commit b779b5b into unikraft:staging-1393 May 21, 2024
12 of 14 checks passed
razvand pushed a commit that referenced this pull request May 21, 2024
This change adds a Kconfig dependency to ukatomic on several libraries
that were written before the ukatomic split-off. This makes their using
atomic operations explicit.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Robert Zamfir <georobi.016@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1393
razvand pushed a commit that referenced this pull request May 21, 2024
This change removes the Kconfig dependency on LIBUKLOCK as well as
inclusion of <uk/mutex.h> as these were not used.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Robert Zamfir <georobi.016@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1393
razvand pushed a commit that referenced this pull request May 21, 2024
This change adds a conditional dependency on (no)libc, required because
ukfile uses many libc-provided types.

Signed-off-by: Andrei Tatar <andrei@unikraft.io>
Reviewed-by: Robert Zamfir <georobi.016@gmail.com>
Approved-by: Razvan Deaconescu <razvand@unikraft.io>
GitHub-Closes: #1393
@andreittr andreittr deleted the ttr/posix-config-fix branch May 24, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/lib Internal Unikraft Microlibrary lang/c Issues or PRs to do with C/C++
Projects
Status: Done!
Development

Successfully merging this pull request may close these issues.

None yet

4 participants