-
Notifications
You must be signed in to change notification settings - Fork 990
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
fix: make Dragonfly compatible with older systems #1755
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,5 +36,3 @@ include_directories(helio) | |
|
||
add_subdirectory(helio) | ||
add_subdirectory(src) | ||
|
||
include(cmake/Packing.cmake) |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,11 +8,16 @@ HELIO_OPENSSL_USE_STATIC_LIBS = ON | |
HELIO_ENABLE_GIT_VERSION = ON | ||
HELIO_WITH_UNWIND = OFF | ||
|
||
# equivalent to: if $(uname_m) == x86_64 || $(uname_m) == amd64 | ||
ifneq (, $(filter $(BUILD_ARCH),x86_64 amd64)) | ||
HELIO_MARCH_OPT := -march=core2 -msse4.1 -mpopcnt -mtune=skylake | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think What am I missing here? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Our responsibility as project maintainers to do what's right and not what was asked in the comments :) We lowered the bar but we are not going to support 32bit processor pentium-m discontinued in 2009. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. +1 I got confused because you wrote There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yes, fixed the description. |
||
endif | ||
|
||
HELIO_FLAGS = $(if $(HELIO_RELEASE),-release $(HELIO_RELEASE_FLAGS),) \ | ||
-DBoost_USE_STATIC_LIBS=$(HELIO_USE_STATIC_LIBS) \ | ||
-DOPENSSL_USE_STATIC_LIBS=$(HELIO_OPENSSL_USE_STATIC_LIBS) \ | ||
-DENABLE_GIT_VERSION=$(HELIO_ENABLE_GIT_VERSION) \ | ||
-DWITH_UNWIND=$(HELIO_WITH_UNWIND) \ | ||
-DWITH_UNWIND=$(HELIO_WITH_UNWIND) -DMARCH_OPT="$(HELIO_MARCH_OPT)" | ||
|
||
.PHONY: default | ||
|
||
|
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.
Also isn't this only for the architecture and for the processor family ? I would expect something here that looks the microprocessor architecture and its familly
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.
no, we support x86_64 and arm64 architectures and we release binaries that can run for both architectures.
See here: https://github.com/dragonflydb/dragonfly/releases
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.
I know which architectures we support, it appeared to me that this PR was meant to address the microarchitecture mentioned on that PR. I got confused, that's all