Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into folly_executor
Browse files Browse the repository at this point in the history
  • Loading branch information
szmyd committed Oct 20, 2023
2 parents d724b86 + 7e8d2cf commit 62f85ac
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 80 deletions.
8 changes: 4 additions & 4 deletions .jenkins/Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,10 +57,10 @@ pipeline {

stage("Compile") {
steps {
sh "conan create ${BUILD_MISSING} -pr debug -o ${PROJECT}:sanitize=True -o ${PROJECT}:testing=full . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr debug -o ${PROJECT}:testing=full . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr test -o sisl:malloc_impl=tcmalloc -o ${PROJECT}:testing=full . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr test -o sisl:prerelease=True -o sisl:malloc_impl=tcmalloc -o ${PROJECT}:testing=full . ${PROJECT}/${TAG} ; \
sh "conan create ${BUILD_MISSING} -pr debug -o ${PROJECT}:sanitize=True . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr debug . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr test -o sisl:malloc_impl=tcmalloc . ${PROJECT}/${TAG} ; \
conan create ${BUILD_MISSING} -pr test -o sisl:prerelease=True -o sisl:malloc_impl=tcmalloc . ${PROJECT}/${TAG} ; \
"
}
}
Expand Down
12 changes: 5 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,11 @@ else()
message(WARNING "Conan Build file does not exist, trying to build without!")
endif()

if(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
include (cmake/debug_flags.cmake)
else()
if((${CMAKE_CXX_COMPILER_ID} STREQUAL "GNU") OR (${CMAKE_CXX_COMPILER_ID} STREQUAL "Clang"))
remove_flag("-O[0-4]")
add_flags("-O2")
endif()
if (DEFINED BUILD_COVERAGE)
if (${BUILD_COVERAGE})
include (cmake/CodeCoverage.cmake)
APPEND_COVERAGE_COMPILER_FLAGS()
endif ()
endif()

if (DEFINED MEMORY_SANITIZER_ON AND ${MEMORY_SANITIZER_ON})
Expand Down
68 changes: 0 additions & 68 deletions cmake/debug_flags.cmake

This file was deleted.

2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def requirements(self):
self.requires("pistache/0.0.5")
self.requires("zmarok-semver/1.1.0")
self.requires("openssl/3.1.1", override=True)
self.requires("libcurl/8.0.1", override=True)
self.requires("libcurl/8.2.1", override=True)

def build(self):
cmake = CMake(self)
Expand Down

0 comments on commit 62f85ac

Please sign in to comment.