postgres.git / summary / log / commit / refs

commit    17ebbdf7de192c340762cb852ce615aefa191c95
Author:   Andres Freund <andres@anarazel.de>
Date:     Sat Aug 12 20:06:04 2023 +0000
First released in: 17.0, 16.0

    ci: macos: Remove use of -DRANDOMIZE_ALLOCATED_MEMORY
    
    RANDOMIZE_ALLOCATED_MEMORY causes a measurable slowdown. Macos is, by far, the
    most expensive platform for CI, therefore it doesn't make sense to run such a
    test there.
    
    Ubsan and asan on linux should detect most of the the cases of uninitialized
    memory, so it doesn't really seem worth using -DRANDOMIZE_ALLOCATED_MEMORY in
    another instance type.
    
    Author: Andres Freund <andres@anarazel.de>
    Reviewed-by: Heikki Linnakangas <hlinnaka@iki.fi>
    Discussion: https://postgr.es/m/20230808021541.7lbzdefvma7qmn3w@awork3.anarazel.de
    Backpatch: 16-, where 89d16b635 added the use of -DRANDOMIZE_ALLOCATED_MEMORY


.cirrus.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.cirrus.yml b/.cirrus.yml index d260f15c4e2..b742aaf6863 100644 --- a/.cirrus.yml +++ b/.cirrus.yml @@ -434,7 +434,6 @@ task: CC: ccache cc CXX: ccache c++ - CPPFLAGS: -DRANDOMIZE_ALLOCATED_MEMORY CFLAGS: -Og -ggdb CXXFLAGS: -Og -ggdb [parent: c36b636096a1]