Skip to content

Commit a659d5c

Browse files
committed
Update docu link; Add the O0 + O3 cmake cache
The O3 cache was mentioned in example in the docu, so we should make sure it actually exists :) llvm-svn: 341263
1 parent 3ff8dfb commit a659d5c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

README.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@ LLVM "test-suite" Repository
33

44
Please see the LLVM testing infrastructure guide:
55

6-
http://llvm.org/docs/TestingGuide.html
6+
https://llvm.org/docs/TestSuiteGuide.html
77

88
for more information on the contents of this repository.

cmake/caches/O0.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
# Lowest optimization level and maximum debug information; A typical developer
2+
# configuration.
3+
set(CMAKE_BUILD_TYPE "Debug" CACHE STRING "")
4+
set(CMAKE_C_FLAGS_DEBUG "-O0" CACHE STRING "")
5+
set(CMAKE_CXX_FLAGS_DEBUG "-O0" CACHE STRING "")

cmake/caches/O3.cmake

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
set(OPTFLAGS "${OPTFLAGS} -O3")
2+
3+
set(CMAKE_C_FLAGS_RELEASE "${OPTFLAGS}" CACHE STRING "")
4+
set(CMAKE_CXX_FLAGS_RELEASE "${OPTFLAGS}" CACHE STRING "")
5+
set(CMAKE_BUILD_TYPE "Release" CACHE STRING "")

0 commit comments

Comments
 (0)