google / google/clspv

Hardcoded /lib/cmake path breaks on /lib64 systems

Open
#1,467 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
LLVM
Stars
729
Forks
110
Avg merge
17h 51m
Merged PRs (30d)
23

Description

Clear Linux, a 64-bit distribution, uses `/usr/lib64` for libraries and `/usr/lib64/cmake` for corresponding cmake helpers in. Hard-coding `/lib/cmake` breaks builds in this environment, and in any others that reserve `/usr/lib` for 32-bit fallback libraries.

https://github.com/google/clspv/blob/55000a5855e802c3986a0b29320bd725602e890d/lib/CMakeLists.txt#L142-L148
https://github.com/google/clspv/blob/55000a5855e802c3986a0b29320bd725602e890d/tools/clspv-opt/CMakeLists.txt#L47-L50

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.