Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make CHPL_LIB_PATH ignore empty strings (chapel-lang#26074)
If `CHPL_LIB_PATH` has colons in it, we split the path based on the colons. However, if we have a trailing or leading colon, or two colons back to back (`::`) in CHPL_LIB_PATH, it get's added as an empty string. This cases errors since there isn't an argument to go with `-L` for the target compiler. Ex: ``` clang++: error: argument to '-L' is missing (expected 1 value) ``` This makes the change such the the `addPath` function ignores the empty strings in CHPL_LIB_PATH. Will resolve nightly test failures in `test-gpu-ex-cuda-12.interop`. [Reviewed by @e-kayrakli]
- Loading branch information