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

[cherry-pick][SAI-PTF]Include sai expermential for generate the rpc headers (#1660) #1661

Merged

Conversation

richardyu-ms
Copy link
Collaborator

When generate the sai_adapter it depends on the files in sai expermental https://github.com/opencomputeproject/SAI/blob/master/meta/Makefile#L72

CFLAGS += -I../inc -I../experimental $(WARNINGS)

In gensairpc
https://github.com/opencomputeproject/SAI/blob/master/meta/gensairpc.pl#L132

our $EXPERIMENTAL_DIR = catdir( $sai_dir,      'experimental' );

But when generate the py headers for RPC service, it doesn't include that. In order to make them matched, then add that dependences.

Test done:
Local compile and checked the headers

Signed-off-by: richardyu richardyu@contoso.com

Signed-off-by: richardyu richardyu@contoso.com
Co-authored-by: richardyu richardyu@contoso.com

…omputeproject#1660)

When generate the sai_adapter it depends on the files in  sai expermental
https://github.com/opencomputeproject/SAI/blob/master/meta/Makefile#L72
```
CFLAGS += -I../inc -I../experimental $(WARNINGS)
```
In gensairpc
https://github.com/opencomputeproject/SAI/blob/master/meta/gensairpc.pl#L132
```
our $EXPERIMENTAL_DIR = catdir( $sai_dir,      'experimental' );
```
But when generate the py headers for RPC service, it doesn't include that.
In order to make them matched, then add that dependences.

Test done:
Local compile and checked the headers

Signed-off-by: richardyu-ms <richard.yu@microsoft.com>
@richardyu-ms richardyu-ms force-pushed the fix-sai-experimental_1.11 branch from 46194b5 to 7222e8a Compare November 20, 2022 04:38
@richardyu-ms richardyu-ms merged commit bb50de8 into opencomputeproject:v1.11 Nov 20, 2022
@richardyu-ms richardyu-ms changed the title [SAI-PTF]Include sai expermential for generate the rpc headers (#1660) [cherry-pick][SAI-PTF]Include sai expermential for generate the rpc headers (#1660) Nov 20, 2022
@richardyu-ms richardyu-ms deleted the fix-sai-experimental_1.11 branch January 1, 2023 04:15
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.

1 participant