Displaying 7 results from an estimated 7 matches for "cmake_cxx_extensions".
2020 Nov 17
10
wasteful cmake defaults
...% cpu 10:45.78 total
and then:
$ git apply <<'EOF'
diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
index 21563e15118..3f5821351a1 100644
--- a/llvm/CMakeLists.txt
+++ b/llvm/CMakeLists.txt
@@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
set(CMAKE_CXX_EXTENSIONS NO)
if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
- message(STATUS "No build type selected, default to Debug")
- set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
+ # message(STATUS "No build ty...
2020 Nov 18
1
wasteful cmake defaults
...lt;'EOF'
>> diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
>> index 21563e15118..3f5821351a1 100644
>> --- a/llvm/CMakeLists.txt
>> +++ b/llvm/CMakeLists.txt
>> @@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
>> set(CMAKE_CXX_EXTENSIONS NO)
>>
>> if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
>> - message(STATUS "No build type selected, default to Debug")
>> - set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
>>...
2020 Nov 17
0
wasteful cmake defaults
...gt;
> $ git apply <<'EOF'
> diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
> index 21563e15118..3f5821351a1 100644
> --- a/llvm/CMakeLists.txt
> +++ b/llvm/CMakeLists.txt
> @@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
> set(CMAKE_CXX_EXTENSIONS NO)
>
> if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
> - message(STATUS "No build type selected, default to Debug")
> - set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
> + # message(STA...
2020 Nov 18
0
wasteful cmake defaults
...t; $ git apply <<'EOF'
> diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
> index 21563e15118..3f5821351a1 100644
> --- a/llvm/CMakeLists.txt
> +++ b/llvm/CMakeLists.txt
> @@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
> set(CMAKE_CXX_EXTENSIONS NO)
>
> if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
> - message(STATUS "No build type selected, default to Debug")
> - set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default
> Debug)" FORCE)
> + # mes...
2020 Nov 17
0
wasteful cmake defaults
...t; $ git apply <<'EOF'
> diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
> index 21563e15118..3f5821351a1 100644
> --- a/llvm/CMakeLists.txt
> +++ b/llvm/CMakeLists.txt
> @@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
> set(CMAKE_CXX_EXTENSIONS NO)
>
> if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
> - message(STATUS "No build type selected, default to Debug")
> - set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
> + # message(...
2020 Nov 18
0
wasteful cmake defaults
...lt;'EOF'
>> diff --git a/llvm/CMakeLists.txt b/llvm/CMakeLists.txt
>> index 21563e15118..3f5821351a1 100644
>> --- a/llvm/CMakeLists.txt
>> +++ b/llvm/CMakeLists.txt
>> @@ -55,8 +55,8 @@ set(CMAKE_CXX_STANDARD_REQUIRED YES)
>> set(CMAKE_CXX_EXTENSIONS NO)
>>
>> if (NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
>> - message(STATUS "No build type selected, default to Debug")
>> - set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "Build type (default Debug)" FORCE)
>>...
2020 Nov 05
1
How to use mainline clang/llvm with CMake
Dear all, I am not sure whether this is a right place to ask basic questions about usage of CLang/LLVM, but also not sure if there is any other mailing list for such.
Kindly point me to such a list in such case.
I had built mainline CLang/LLVM on OSX and tried to use it with CMake. I had override following variables in CMake: