[前][次][番号順一覧][スレッド一覧]

ruby-changes:67159

From: Nobuyoshi <ko1@a...>
Date: Sat, 14 Aug 2021 23:24:33 +0900 (JST)
Subject: [ruby-changes:67159] 29dd70492e (master): Add checks for gcc/clang with LTO

https://git.ruby-lang.org/ruby.git/commit/?id=29dd70492e

From 29dd70492eb3e3f0018c01fb3fa4ce77029a208f Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Sat, 14 Aug 2021 23:10:55 +0900
Subject: Add checks for gcc/clang with LTO

---
 .github/workflows/compilers.yml | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/.github/workflows/compilers.yml b/.github/workflows/compilers.yml
index cc8c6b0..d50a516 100644
--- a/.github/workflows/compilers.yml
+++ b/.github/workflows/compilers.yml
@@ -55,6 +55,11 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L55
           - { key: default_cc, name: gcc-6,     value: gcc-6,     container: gcc-6 }
           - { key: default_cc, name: gcc-5,     value: gcc-5,     container: gcc-5 }
           - { key: default_cc, name: gcc-4.8,   value: gcc-4.8,   container: gcc-4.8 }
+          - key: default_cc
+            name: 'gcc-11 LTO'
+            value: 'gcc-11 -O2 -flto=auto -ffat-lto-objects'
+            container: gcc-11
+            check: true
           - { key: default_cc, name: clang-14,  value: clang-14,  container: clang-14 }
           - { key: default_cc, name: clang-13,  value: clang-13,  container: clang-13 }
           - { key: default_cc, name: clang-12,  value: clang-12,  container: clang-12 }
@@ -67,6 +72,11 @@ jobs: https://github.com/ruby/ruby/blob/trunk/.github/workflows/compilers.yml#L72
           - { key: default_cc, name: clang-5.0, value: clang-5.0, container: clang-5.0 }
           - { key: default_cc, name: clang-4.0, value: clang-4.0, container: clang-4.0 }
           - { key: default_cc, name: clang-3.9, value: clang-3.9, container: clang-3.9 }
+          - key: default_cc
+            name: 'clang-14 LTO'
+            value: 'clang-14 -O2 -flto=auto'
+            container: clang-14
+            check: true
 
           - { key: crosshost, name: aarch64-linux-gnu,     value: aarch64-linux-gnu, container: crossbuild-essential-arm64 }
 #         - { key: crosshost, name: arm-linux-gnueabi,     value: arm-linux-gnueabi }
-- 
cgit v1.1


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]