Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable warnings as errors on Aarch64 in the JIT #18382

Merged
merged 1 commit into from
Nov 2, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion buildenv/jenkins/variables/defaults.yml
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ aarch64_mac:
8: 'macosx-aarch64-normal-server-release'
11: 'macosx-aarch64-normal-server-release'
extra_configure_options:
all: '--disable-warnings-as-errors --with-noncompressedrefs'
all: '--with-noncompressedrefs'
openjdk_reference_repo: '/Users/jenkins/openjdk_cache'
node_labels:
build: 'ci.role.build && hw.arch.aarch64 && sw.os.mac'
Expand Down
2 changes: 1 addition & 1 deletion runtime/compiler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ omr_stringify(J9_CXXFLAGS_STR ${J9_SHAREDFLAGS} ${J9_CXXFLAGS})
set(CMAKE_CXX_FLAGS "${J9_CXXFLAGS_STR}")
set(CMAKE_C_FLAGS "${J9_CFLAGS_STR}")

if(OMR_ARCH_X86 OR OMR_ARCH_S390)
if(OMR_ARCH_X86 OR OMR_ARCH_S390 OR OMR_ARCH_AARCH64)
set(OMR_WARNINGS_AS_ERRORS ON)
set(OMR_ENHANCED_WARNINGS OFF)
else()
Expand Down