-
Notifications
You must be signed in to change notification settings - Fork 169
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
Fix #3440, macos build issues #3532
Conversation
📝 TAOS-CI Version: 1.5.20200925. Thank you for submitting PR #3532. Please a submit 1commit/1PR (one commit per one PR) policy to get comments quickly from reviewers. Your PR must pass all verificiation processes of cibot before starting a review process from reviewers. If you are new member to join this project, please read manuals in documentation folder and wiki page. In order to monitor a progress status of your PR in more detail, visit http://nnstreamer.mooo.com/. |
GLib-Once (g_once_init_enter/leave) have already taken care of concurrency. Its users do not need to worry about cache coherency or concurrency issues for the initialization. Actually, as nnstreamer#3440 is showing, the volatile keyword is neglected by g_once_init_enter function, making the usage of volatile meaningless anyway. Remove volatile keyword and mitigate the first compiler warning-error of nnstreamer#3440 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
EREMOTEIO is Linux-specific error code. For the compatibility with non-Linux systems, define it if it's undefined. This partially addresses nnstreamer#3440 Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Disable lua subplugin build if lua is >= 5.3 Reenable Lua >= 5.3 build if nnstreamer#3531 is fixed. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
The parser code is not comaptible with macos. Reenable after fixing them. This is probably because of parser library versions. Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
be3fa88
to
8eb0398
Compare
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.
@myungjoo, 💯 All CI checkers are successfully verified. Thanks.
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.
LGTM
@@ -29,6 +29,10 @@ | |||
#define N_BACKLOG 10 | |||
#define CLIENT_ID_LEN 4 | |||
|
|||
#ifndef EREMOTEIO | |||
#define EREMOTEIO 121 /* This is Linux-specific. Define this for non-Linux systems */ |
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.
I will fix it later.
@myungjoo Acked:) |
Tested in macOS 11.2.1, with
$ meson build && ninja -C build
.This fixes #3440 (not tested with brew as nnstreamer is no longer available in homebrew: @wooksong could you please re-register it?)
@sebastient Does this fix the issue in your env?