-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
build: do not fail RocksDB build on compiler warnings #46673
build: do not fail RocksDB build on compiler warnings #46673
Conversation
@rytaft This fixes the RocksDB / jemalloc build error seen when using the most recent version of Xcode. |
Makefile
Outdated
@@ -643,7 +643,7 @@ $(ROCKSDB_DIR)/Makefile: $(C_DEPS_DIR)/rocksdb-rebuild | bin/.submodules-initial | |||
$(if $(use-stdmalloc),,-DJEMALLOC_LIBRARIES=$(LIBJEMALLOC) -DJEMALLOC_INCLUDE_DIR=$(JEMALLOC_DIR)/include -DWITH_JEMALLOC=ON) \ | |||
-DCMAKE_BUILD_TYPE=$(if $(ENABLE_ROCKSDB_ASSERTIONS),Debug,Release) \ | |||
-DFAIL_ON_WARNINGS=$(if $(findstring windows,$(XGOOS)),0,1) \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can you edit that line too then
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, didn't even notice that. I've removed it now that we're disabling failing on warnings everywhere.
Disable `-Werror` for the RocksDB build which has recently started complaining about a missing exception specification in a jemalloc header with the newest version of Xcode. Release justification: low risk change to remove developer build irritation. Should be a no-op for production builds. Release note: None
7148b45
to
7f61159
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reviewable status: complete! 1 of 0 LGTMs obtained (waiting on @knz and @rytaft)
TFTR! bors r+ |
This appears to have been canceled because of missing cla check on one of my PRs. bors r+ |
Build succeeded |
Disable
-Werror
for the RocksDB build which has recently startedcomplaining about a missing exception specification in a jemalloc header
with the newest version of Xcode.
Release justification: low risk change to remove developer build
irritation. Should be a no-op for production builds.
Release note: None