Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

can't build with LLVM 7.0.1? #56

Open
ondrej008 opened this issue Sep 28, 2023 · 0 comments
Open

can't build with LLVM 7.0.1? #56

ondrej008 opened this issue Sep 28, 2023 · 0 comments

Comments

@ondrej008
Copy link

ondrej008 commented Sep 28, 2023

Hello I've been trying to get this project working for a couple hours, this is the current error that I'm stuck at:
CMake Error at test/CMakeLists.txt:28 (message):
clang: version compatible with LLVM 7.0.1 not found

Here is the entire cmake output:

[root@myserver build]# cmake .. -DLLVM_DIR=/root/opt/llvm/7.0.1/lib/cmake/llvm/
CMake Deprecation Warning at CMakeLists.txt:1 (cmake_minimum_required):
  Compatibility with CMake < 3.5 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 7.0.1
-- The CXX compiler identification is Clang 7.0.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /opt/rh/llvm-toolset-7.0/root/bin/clang - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /opt/rh/llvm-toolset-7.0/root/bin/clang++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Build type not set. Setting default.
-- Build type: RelWithDebInfo
-- Found LLVM 7.0.1
-- Using LLVMConfig.cmake in: /root/opt/llvm/7.0.1/lib/cmake/llvm/
-- LLVM include dir: /root/opt/llvm/7.0.1/include
-- LLVM libraries dir: /root/opt/llvm/7.0.1/lib
-- LLVM definitions: -D_GNU_SOURCE -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS
-- Linker detection: GNU ld
-- LLVM linking: dynamic
CMake Error at test/CMakeLists.txt:28 (message):
  clang: version compatible with LLVM 7.0.1 not found


-- Configuring incomplete, errors occurred!

Jsem dostupný na ČVUT discordu pro rychlejší komunikaci.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant