зеркало из https://github.com/github/ruby.git
merge revision(s) fe42d88ad28df395111cfb9f2f67e21910083df1:
Pass -Werror=lto-type-mismatch for GCC LTO jobs This helps to find possible LTO miscompilations earlier. See also https://github.com/ruby/ruby/pull/7695. --- .github/workflows/compilers.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-)
This commit is contained in:
Родитель
3e664c5813
Коммит
b13db31ce8
|
@ -80,10 +80,10 @@ jobs:
|
|||
- { name: gcc-9, env: { default_cc: gcc-9 } }
|
||||
- { name: gcc-8, env: { default_cc: gcc-8 } }
|
||||
- { name: gcc-7, env: { default_cc: gcc-7 } }
|
||||
- name: 'gcc-11 LTO'
|
||||
container: gcc-11
|
||||
- name: 'gcc-13 LTO'
|
||||
container: gcc-13
|
||||
env:
|
||||
default_cc: 'gcc-11 -flto=auto -ffat-lto-objects'
|
||||
default_cc: 'gcc-13 -flto=auto -ffat-lto-objects -Werror=lto-type-mismatch'
|
||||
optflags: '-O2'
|
||||
shared: disable
|
||||
# check: true
|
||||
|
@ -109,10 +109,10 @@ jobs:
|
|||
- { name: clang-8, env: { default_cc: clang-8 } }
|
||||
- { name: clang-7, env: { default_cc: clang-7 } }
|
||||
- { name: clang-6.0, env: { default_cc: clang-6.0 } }
|
||||
- name: 'clang-14 LTO'
|
||||
container: clang-14
|
||||
- name: 'clang-16 LTO'
|
||||
container: clang-16
|
||||
env:
|
||||
default_cc: 'clang-14 -flto=auto'
|
||||
default_cc: 'clang-16 -flto=auto'
|
||||
optflags: '-O2'
|
||||
shared: disable
|
||||
# check: true
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
# define RUBY_VERSION_MINOR RUBY_API_VERSION_MINOR
|
||||
#define RUBY_VERSION_TEENY 2
|
||||
#define RUBY_RELEASE_DATE RUBY_RELEASE_YEAR_STR"-"RUBY_RELEASE_MONTH_STR"-"RUBY_RELEASE_DAY_STR
|
||||
#define RUBY_PATCHLEVEL 65
|
||||
#define RUBY_PATCHLEVEL 66
|
||||
|
||||
#include "ruby/version.h"
|
||||
#include "ruby/internal/abi.h"
|
||||
|
|
Загрузка…
Ссылка в новой задаче