Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
CMake
CMake
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 3,296
    • Issues 3,296
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 9
    • Merge Requests 9
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI/CD
    • Repository
    • Value Stream
  • External Wiki
    • External Wiki
  • Members
    • Members
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • CMake
  • CMakeCMake
  • Issues
  • #21496

Closed
Open
Created Nov 24, 2020 by mk@g1

[feature suggestion - CMAKE_CXX_COMPILER] add check for clang++ binary path

this is on the heels of #21493 (closed)

where CMAKE_CXX_COMPILER=/usr/lib/llvm-11/bin/clang been declared whilst it should have been CMAKE_CXX_COMPILER=/usr/lib/llvm-11/bin/clang++

seeing that the compiler's frontend binary is the same for C and C++

# stat /usr/lib/llvm-11/bin/clang++
  File: /usr/lib/llvm-11/bin/clang++ -> clang
  Size: 5               Blocks: 0          IO Block: 4096   symbolic link

it could lead to a situation as mentioned in the cited issue. I had a discussion at some other place and was to understand that I am not the only one that made this mistake, hence it perhaps would be viable addition to implement such check.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None