mbutrovich commented on code in PR #3368:
URL: https://github.com/apache/datafusion-comet/pull/3368#discussion_r2758851669
##########
Makefile:
##########
@@ -51,26 +51,26 @@ format:
# build native libs for amd64 architecture Linux/MacOS on a Linux/amd64
machine/container
core-amd64-libs:
- cd native && cargo build -j 2 --release $(FEATURES_ARG)
+ cd native && RUSTFLAGS="-Ctarget-cpu=x86-64-v3" cargo build -j 2
--release $(FEATURES_ARG)
Review Comment:
This is a target for released binaries (build-release-comet.sh).
##########
Makefile:
##########
@@ -51,26 +51,26 @@ format:
# build native libs for amd64 architecture Linux/MacOS on a Linux/amd64
machine/container
core-amd64-libs:
- cd native && cargo build -j 2 --release $(FEATURES_ARG)
+ cd native && RUSTFLAGS="-Ctarget-cpu=x86-64-v3" cargo build -j 2
--release $(FEATURES_ARG)
ifdef HAS_OSXCROSS
rustup target add x86_64-apple-darwin
cd native && cargo build -j 2 --target x86_64-apple-darwin --release
$(FEATURES_ARG)
endif
# build native libs for arm64 architecture Linux/MacOS on a Linux/arm64
machine/container
core-arm64-libs:
- cd native && cargo build -j 2 --release $(FEATURES_ARG)
+ cd native && RUSTFLAGS="-Ctarget-cpu=neoverse-n1" cargo build -j 2
--release $(FEATURES_ARG)
Review Comment:
This is also a target for released binaries (build-release-comet.sh).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]