-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Add snappy, libx264, opus, libvpx, ffmpeg, lcms, re2 #211
base: master
Are you sure you want to change the base?
Add snappy, libx264, opus, libvpx, ffmpeg, lcms, re2 #211
Conversation
Signed-off-by: Dennis Bonke <[email protected]>
Signed-off-by: Dennis Bonke <[email protected]>
91ac652
to
53a39c3
Compare
Signed-off-by: Dennis Bonke <[email protected]>
Signed-off-by: Dennis Bonke <[email protected]>
Signed-off-by: Dennis Bonke <[email protected]>
Signed-off-by: Dennis Bonke <[email protected]>
Signed-off-by: Dennis Bonke <[email protected]>
53a39c3
to
6ebd5eb
Compare
- '--arch=@OPTION:arch@' | ||
- '--cross-prefix=@OPTION:arch-triple@' | ||
- '--host-cc=gcc' | ||
- '--target-os=linux' # Fun times ahead |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why don't we add a target for Managarm?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably me being lazy and it seems to work out fine, so no need to add extra patchwork that needs to be upstreamed eventually.
-#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) | ||
+#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) && !defined(__managarm__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this done?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't implement this yet (or at least we didn't at the time of me porting ffmpeg).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mlibc has it stubbed, but managarm currently does not implement this. This would have to be implemented as a new hel call IIRC.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should add the required infrastructure to mlibc (if it doesn't exist already) and make the Managarm sysdeps return ENOSYS (and log a message).
-#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) | ||
+#if HAVE_SCHED_GETAFFINITY && defined(CPU_COUNT) && !defined(__managarm__) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
mlibc has it stubbed, but managarm currently does not implement this. This would have to be implemented as a new hel call IIRC.
All of these ports are split off from #178, and as far as I can tell should just be good to go.
The following ports have been added:
snappy
;libx264
;opus
;libvpx
;ffmpeg
;lcms
;re2
.