-
Notifications
You must be signed in to change notification settings - Fork 130
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 runfiles_path
in Linux for Loop Opt Service
#603
Comments
I can try and take a look at this if you want? How do I repro? |
Thanks @ChrisCummins !
with:
|
Please note that in this PR #608 to fix other errors in Linux CMake, I had to change 2 further |
I would like to clarify that CMake does actually build However, it seems that The cause could be that we need to ensure that we add the Cc @sogartar |
Ahhh, I see now, sorry this took me so long to figure out! 🙂 So, the problem is that This is working "as expected", but it means that you need an alternate way to locate runtime dependencies for example code. This is entirely why "demo_without_bazel.py" only works for the python backend and not for the compiler C++ backend. Once we complete the cmake migration we can replace the complicated Cheers, |
Possible Solution:
Another problem may be that the file does not get where it should be. This means that something is wrong with the dependencies and the target that makes the files is not triggered. There may be a bug in
cg_add_data_dependencies(...)
.Another problem may come from
cg_genrule
resolving to the wrong command, but this should generate an error when executed.@mostafaelhoushi, you can run the CMake configuration with
--trace-expand
flag and see what happens line-by-line.You can also use CMake's
--graphviz
option to visualize the dependency graph.Originally posted by @sogartar in #570 (comment)
The text was updated successfully, but these errors were encountered: