Use LTO by default
This commit is contained in:
		
							parent
							
								
									544d4390c7
								
							
						
					
					
						commit
						ded8c2bf13
					
				
							
								
								
									
										112
									
								
								.github/workflows/osrm-backend.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										112
									
								
								.github/workflows/osrm-backend.yml
									
									
									
									
										vendored
									
									
								
							@ -166,16 +166,16 @@ jobs:
 | 
			
		||||
    strategy:
 | 
			
		||||
      matrix:
 | 
			
		||||
        include:
 | 
			
		||||
          - name: gcc-13-debug-cov
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 20
 | 
			
		||||
            runs-on: ubuntu-24.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Debug
 | 
			
		||||
            CCOMPILER: gcc-13
 | 
			
		||||
            CUCUMBER_TIMEOUT: 20000
 | 
			
		||||
            CXXCOMPILER: g++-13
 | 
			
		||||
            ENABLE_COVERAGE: ON
 | 
			
		||||
          # - name: gcc-13-debug-cov
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 20
 | 
			
		||||
          #   runs-on: ubuntu-24.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Debug
 | 
			
		||||
          #   CCOMPILER: gcc-13
 | 
			
		||||
          #   CUCUMBER_TIMEOUT: 20000
 | 
			
		||||
          #   CXXCOMPILER: g++-13
 | 
			
		||||
          #   ENABLE_COVERAGE: ON
 | 
			
		||||
 | 
			
		||||
          # - name: clang-15-debug-asan-ubsan
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
@ -243,56 +243,56 @@ jobs:
 | 
			
		||||
          #   CXXCOMPILER: clang++-13
 | 
			
		||||
          #   CUCUMBER_TIMEOUT: 60000
 | 
			
		||||
 | 
			
		||||
          - name: conan-linux-debug-asan-ubsan
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 18
 | 
			
		||||
            runs-on: ubuntu-22.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Release
 | 
			
		||||
            CCOMPILER: clang-15
 | 
			
		||||
            CXXCOMPILER: clang++-15
 | 
			
		||||
            ENABLE_CONAN: ON
 | 
			
		||||
            ENABLE_SANITIZER: ON
 | 
			
		||||
          # - name: conan-linux-debug-asan-ubsan
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 18
 | 
			
		||||
          #   runs-on: ubuntu-22.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Release
 | 
			
		||||
          #   CCOMPILER: clang-15
 | 
			
		||||
          #   CXXCOMPILER: clang++-15
 | 
			
		||||
          #   ENABLE_CONAN: ON
 | 
			
		||||
          #   ENABLE_SANITIZER: ON
 | 
			
		||||
 | 
			
		||||
          - name: conan-linux-release
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 18
 | 
			
		||||
            runs-on: ubuntu-22.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Release
 | 
			
		||||
            CCOMPILER: clang-15
 | 
			
		||||
            CXXCOMPILER: clang++-15
 | 
			
		||||
            ENABLE_CONAN: ON
 | 
			
		||||
          # - name: conan-linux-release
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 18
 | 
			
		||||
          #   runs-on: ubuntu-22.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Release
 | 
			
		||||
          #   CCOMPILER: clang-15
 | 
			
		||||
          #   CXXCOMPILER: clang++-15
 | 
			
		||||
          #   ENABLE_CONAN: ON
 | 
			
		||||
 | 
			
		||||
          - name: gcc-14-release
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 20
 | 
			
		||||
            runs-on: ubuntu-24.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Release
 | 
			
		||||
            CCOMPILER: gcc-14
 | 
			
		||||
            CXXCOMPILER: g++-14
 | 
			
		||||
            CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
          # - name: gcc-14-release
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 20
 | 
			
		||||
          #   runs-on: ubuntu-24.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Release
 | 
			
		||||
          #   CCOMPILER: gcc-14
 | 
			
		||||
          #   CXXCOMPILER: g++-14
 | 
			
		||||
          #   CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
 | 
			
		||||
          - name: gcc-13-release
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 20
 | 
			
		||||
            runs-on: ubuntu-24.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Release
 | 
			
		||||
            CCOMPILER: gcc-13
 | 
			
		||||
            CXXCOMPILER: g++-13
 | 
			
		||||
            CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
          # - name: gcc-13-release
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 20
 | 
			
		||||
          #   runs-on: ubuntu-24.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Release
 | 
			
		||||
          #   CCOMPILER: gcc-13
 | 
			
		||||
          #   CXXCOMPILER: g++-13
 | 
			
		||||
          #   CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
 | 
			
		||||
          - name: gcc-12-release
 | 
			
		||||
            continue-on-error: false
 | 
			
		||||
            node: 20
 | 
			
		||||
            runs-on: ubuntu-22.04
 | 
			
		||||
            BUILD_TOOLS: ON
 | 
			
		||||
            BUILD_TYPE: Release
 | 
			
		||||
            CCOMPILER: gcc-12
 | 
			
		||||
            CXXCOMPILER: g++-12
 | 
			
		||||
            CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
          # - name: gcc-12-release
 | 
			
		||||
          #   continue-on-error: false
 | 
			
		||||
          #   node: 20
 | 
			
		||||
          #   runs-on: ubuntu-22.04
 | 
			
		||||
          #   BUILD_TOOLS: ON
 | 
			
		||||
          #   BUILD_TYPE: Release
 | 
			
		||||
          #   CCOMPILER: gcc-12
 | 
			
		||||
          #   CXXCOMPILER: g++-12
 | 
			
		||||
          #   CXXFLAGS: '-Wno-array-bounds -Wno-uninitialized'
 | 
			
		||||
 | 
			
		||||
          - name: conan-linux-release-node
 | 
			
		||||
            build_node_package: true
 | 
			
		||||
 | 
			
		||||
@ -290,8 +290,8 @@ include_directories(SYSTEM ${RAPIDJSON_INCLUDE_DIR})
 | 
			
		||||
set(MICROTAR_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/third_party/microtar/src")
 | 
			
		||||
include_directories(SYSTEM ${MICROTAR_INCLUDE_DIR})
 | 
			
		||||
 | 
			
		||||
add_library(MICROTAR STATIC "${CMAKE_CURRENT_SOURCE_DIR}/third_party/microtar/src/microtar.c")
 | 
			
		||||
#set_property(TARGET MICROTAR PROPERTY POSITION_INDEPENDENT_CODE ON)
 | 
			
		||||
add_library(MICROTAR OBJECT "${CMAKE_CURRENT_SOURCE_DIR}/third_party/microtar/src/microtar.c")
 | 
			
		||||
set_property(TARGET MICROTAR PROPERTY POSITION_INDEPENDENT_CODE ON)
 | 
			
		||||
target_no_warning(MICROTAR unused-variable)
 | 
			
		||||
target_no_warning(MICROTAR format)
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user