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

Compile error when set -fkernels_as_files=true in model codegen and build model code in non-root folder #26

Closed
xysmlx opened this issue Sep 17, 2020 · 1 comment · Fixed by #35
Labels
bug Something isn't working

Comments

@xysmlx
Copy link
Contributor

xysmlx commented Sep 17, 2020

If we compile model with flag -fkernels_as_files=true and build model code in non-root folder (e.g., nnfusion_rt/cuda_codegen/build), it will report the following error.

fatal error: shared.h: No such file or directory

However, the compilation will be successful in root folder (i.e., nnfusion_rt/cuda_codegen)

@xiayuqing0622
Copy link
Contributor

Thanks for the report @xysmlx! I will look into it ASAP! (I'm a bot).

@xysmlx xysmlx added the bug Something isn't working label Sep 17, 2020
@xysmlx xysmlx linked a pull request Sep 23, 2020 that will close this issue
@wenxcs wenxcs mentioned this issue Sep 24, 2020
34 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants