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

plat/linuxu: Add fpsimd source file to build system #962

Conversation

StefanJum
Copy link
Member

If CONFIG_FPSIMD, the fp_arm64.c source file should be added to the build. Currently this is only done for kvm, so trying to build anything for linuxu will fail with undefined references to the fpsimd_*_state functions.

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.

If `CONFIG_FPSIMD`, the `fp_arm64.c` source file should be added to the
build. Currently this is only done for `kvm`, so trying to build anything
for `linuxu` will fail with undefined references to the `fpsimd_*_state`
functions.

Signed-off-by: Stefan Jumarea <stefanjumarea02@gmail.com>
@StefanJum StefanJum requested a review from a team as a code owner June 27, 2023 11:33
@StefanJum StefanJum requested review from RaduNichita and removed request for a team June 27, 2023 11:33
@StefanJum StefanJum added plat/linuxu Unikraft for Linux Userspace area/makefile Part of the Unikraft Makefile build system topic/build Topics to do with the build system arch/arm64 bug/compile-time Bug occurs during compile-time labels Jun 27, 2023
@unikraft-bot
Copy link
Member

Checkpatch passed

Beep boop! I ran Unikraft's checkpatch.pl support script on your pull request and it all looks good!

SHA commit checkpatch
37754ae plat/linuxu: Add fpsimd source file to build system

@unikraft-bot unikraft-bot added the area/plat Unikraft Patform label Jun 27, 2023
@StefanJum StefanJum assigned razvand and unassigned vladandrew Jun 28, 2023
Copy link
Contributor

@RaduNichita RaduNichita left a comment

Choose a reason for hiding this comment

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

It looks good to me, thanks @StefanJum!

Reviewed-by: Radu Nichita radunichita99@gmail.com

@razvand razvand added this to the v0.14.0 (Prometheus) milestone Jul 24, 2023
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

@unikraft-bot unikraft-bot added the ci/merged Merged by CI label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
arch/arm64 area/makefile Part of the Unikraft Makefile build system area/plat Unikraft Patform bug/compile-time Bug occurs during compile-time ci/merged Merged by CI plat/linuxu Unikraft for Linux Userspace topic/build Topics to do with the build system
Projects
Status: Done!
Development

Successfully merging this pull request may close these issues.

None yet

5 participants