mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-21 03:26:01 +00:00
13
.github/scripts/strategy-matrix/generate.py
vendored
13
.github/scripts/strategy-matrix/generate.py
vendored
@@ -179,8 +179,8 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
# Disable mold linker - it's too strict about relocations with GCC runtime libs
|
||||
# Use default linker (bfd/ld) which is more lenient with mixed code models
|
||||
cmake_args += ' -Duse_mold=OFF -Duse_gold=OFF -Duse_lld=OFF'
|
||||
#exe_linker_flags += ' -fuse-ld=lld'# -static-libubsan -static-libasan -static-libtsan'
|
||||
#shared_linker_flags += ' -fuse-ld=lld'# -static-libubsan -static-libasan -static-libtsan'
|
||||
exe_linker_flags += ' -static-libubsan -static-libasan -static-libtsan'
|
||||
shared_linker_flags += ' -static-libubsan -static-libasan -static-libtsan'
|
||||
|
||||
if architecture['platform'] == 'linux/amd64' and os['compiler_name'] == 'gcc':
|
||||
# Add -mcmodel=large and -fPIC to both compiler AND linker flags
|
||||
@@ -210,8 +210,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
'build_only': build_only,
|
||||
'build_type': build_type,
|
||||
'os': os,
|
||||
'architecture': architecture,
|
||||
'sanitizers': "Address"
|
||||
'architecture': architecture
|
||||
})
|
||||
# Update configs for tsan
|
||||
# gcc doesn't supports atomic_thread_fence with tsan. Suppress warnings.
|
||||
@@ -236,8 +235,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
'build_only': build_only,
|
||||
'build_type': build_type,
|
||||
'os': os,
|
||||
'architecture': architecture,
|
||||
'sanitizers': "Thread"
|
||||
'architecture': architecture
|
||||
})
|
||||
else:
|
||||
if cxx_flags:
|
||||
@@ -251,8 +249,7 @@ def generate_strategy_matrix(all: bool, config: Config) -> list:
|
||||
'build_only': build_only,
|
||||
'build_type': build_type,
|
||||
'os': os,
|
||||
'architecture': architecture,
|
||||
'sanitizers': ""
|
||||
'architecture': architecture
|
||||
})
|
||||
|
||||
return configurations
|
||||
|
||||
Reference in New Issue
Block a user