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
{{ message }}
This repository has been archived by the owner on Jul 30, 2020. It is now read-only.
This is pretty frustrating to be honest, why is the build process downloading a compiler when it is already installed?
Ubuntu 19.04
The issue:
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release -DCMAKE_EXPORT_COMPILE_COMMANDS=YES
-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using downloaded Clang
-- Downloading Clang 7.0.0 (https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz) ...
But clang-7 is already installed:
$ apt policy clang-7
clang-7:
Installed: 1:7.0.1-8
Candidate: 1:7.0.1-8
Version table:
*** 1:7.0.1-8 500
500 http://gb.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
100 /var/lib/dpkg/status
Why can't the build process just use the installed version?
Thanks,
Richard.
The text was updated successfully, but these errors were encountered:
You can set SYSTEM_CLANG into ON, then it will be built with your system clang instead of clang 7 from the release page. It is hard coded in CMakeLists.txt.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi,
This is pretty frustrating to be honest, why is the build process downloading a compiler when it is already installed?
Ubuntu 19.04
The issue:
$ cmake .. -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=release -DCMAKE_EXPORT_COMPILE_COMMANDS=YES
-- The CXX compiler identification is GNU 8.3.0
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Using downloaded Clang
-- Downloading Clang 7.0.0 (https://releases.llvm.org/7.0.0/clang+llvm-7.0.0-x86_64-linux-gnu-ubuntu-14.04.tar.xz) ...
But clang-7 is already installed:
$ apt policy clang-7
clang-7:
Installed: 1:7.0.1-8
Candidate: 1:7.0.1-8
Version table:
*** 1:7.0.1-8 500
500 http://gb.archive.ubuntu.com/ubuntu disco/universe amd64 Packages
100 /var/lib/dpkg/status
Why can't the build process just use the installed version?
Thanks,
Richard.
The text was updated successfully, but these errors were encountered: