You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The function documentation mentions this clang or gcc. Parse a set of headers from the contents of a *.d dependency file generated by clang (or gcc)
On my system, it is somehow encountering an nvcc generated file, erroring out with the following.
Something went wrong in makefile parsing to get headers. The target should be an object file. Output:
Failed to run D:/TMP/marki/tmpxft_00007f68_00000000-2.bat (The directory name is invalid.
).
nvcc fatal : Could not set up the environment for Microsoft Visual Studio using 'D:/Program Files/Microsoft Visual Studio/2022/Community/VC/Tools/MSVC/14.39.33519/bin/HostX64/x64/../../../../../../../VC/Auxiliary/Build/vcvars64.bat'
Commenting out the assert, and just returning empty set() here allows the :refresh_all to seemingly generate a correct (or at least very usable) compile_commands.json.
The text was updated successfully, but these errors were encountered:
After reading that part of the code, it seems the target is unused, so I commented out the assert from the template file. The command works after the fix.
I'm using the cuda_rules https://github.com/bazel-contrib/rules_cuda project to generate a cuda_library target.
Running :refresh_all triggers the assert here https://github.com/hedronvision/bazel-compile-commands-extractor/blob/4689147cf4b1c2d507fd8bbb8eb748a7bbaad4ef/refresh.template.py#L176C45-L176C102.
The function documentation mentions this clang or gcc.
Parse a set of headers from the contents of a
*.ddependency file generated by clang (or gcc)
On my system, it is somehow encountering an nvcc generated file, erroring out with the following.
Commenting out the assert, and just returning empty set() here allows the :refresh_all to seemingly generate a correct (or at least very usable) compile_commands.json.
The text was updated successfully, but these errors were encountered: