YJIT: Generate debug info in release builds (#6910)
* YJIT: Generate debug info in release builds They are helpful in case we need to do core dump debugging. * Remove Cirrus DOC skip rule The syntax for this is weird, and escaping [ and ] cause parse failures. Cirrus' docs said to surround with .*, but then that seems to skip everything. Revert e0a4205eb785f266fdf08f409c2f112f5dfcb229 for now.
This commit is contained in:
parent
1004d693b7
commit
258ac07907
Notes:
git
2022-12-12 20:59:49 +00:00
Merged-By: maximecb <maximecb@ruby-lang.org>
@ -10,7 +10,7 @@ env:
|
|||||||
|
|
||||||
task:
|
task:
|
||||||
name: Arm64 Graviton2 / $CC
|
name: Arm64 Graviton2 / $CC
|
||||||
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document') || $CIRRUS_CHANGE_TITLE =~ '.*[DOC].*'"
|
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')"
|
||||||
arm_container:
|
arm_container:
|
||||||
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
|
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
|
||||||
image: ghcr.io/ruby/ruby-ci-image:$CC
|
image: ghcr.io/ruby/ruby-ci-image:$CC
|
||||||
@ -66,7 +66,7 @@ task:
|
|||||||
yjit_task:
|
yjit_task:
|
||||||
name: Arm64 Graviton2 / $CC YJIT
|
name: Arm64 Graviton2 / $CC YJIT
|
||||||
auto_cancellation: $CIRRUS_BRANCH != 'master'
|
auto_cancellation: $CIRRUS_BRANCH != 'master'
|
||||||
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document') || $CIRRUS_CHANGE_TITLE =~ '.*[DOC].*'"
|
skip: "changesIncludeOnly('doc/**', '**.{md,rdoc,ronn,[1-8]}', '.document')"
|
||||||
arm_container:
|
arm_container:
|
||||||
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
|
# We use the arm64 images at https://github.com/ruby/ruby-ci-image/pkgs/container/ruby-ci-image .
|
||||||
image: ghcr.io/ruby/ruby-ci-image:$CC
|
image: ghcr.io/ruby/ruby-ci-image:$CC
|
||||||
|
@ -224,6 +224,7 @@ MAKE_LINK = $(MINIRUBY) -rfileutils -e "include FileUtils::Verbose" \
|
|||||||
YJIT_RUSTC_ARGS = --crate-name=yjit \
|
YJIT_RUSTC_ARGS = --crate-name=yjit \
|
||||||
--crate-type=staticlib \
|
--crate-type=staticlib \
|
||||||
--edition=2021 \
|
--edition=2021 \
|
||||||
|
-g \
|
||||||
-C opt-level=3 \
|
-C opt-level=3 \
|
||||||
-C overflow-checks=on \
|
-C overflow-checks=on \
|
||||||
'--out-dir=$(CARGO_TARGET_DIR)/release/' \
|
'--out-dir=$(CARGO_TARGET_DIR)/release/' \
|
||||||
|
@ -43,3 +43,5 @@ opt-level = 3
|
|||||||
# The extra robustness that comes from checking for arithmetic overflow is
|
# The extra robustness that comes from checking for arithmetic overflow is
|
||||||
# worth the performance cost for the compiler.
|
# worth the performance cost for the compiler.
|
||||||
overflow-checks = true
|
overflow-checks = true
|
||||||
|
# Generate debug info
|
||||||
|
debug = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user