Closed XorSum closed 1 month ago
i suggest we use target-cpu=native
as a default configuration since it can bring extra performance profits with cpu that supports newer simd instructions (like avx512).
however we can add some configurations to allow users to compile with a specified cpu feature.
i suggest we use
target-cpu=native
as a default configuration since it can bring extra performance profits with cpu that supports newer simd instructions (like avx512). however we can add some configurations to allow users to compile with a specified cpu feature.
I have modified the pull request to make RUSTFLAGS
configurable. If the user does not set the RUSTFLAGS
variable, its default value will be -C target-cpu=native
; if the user sets the RUSTFLAGS
variable, the user's value will be used.
Describe the bug
The CI machine used for compiling Blaze and the machines in the cluster used for running Blaze are different, resulting in a JVM crash when running.
To Reproduce Steps to reproduce the behavior:
Expected behavior do not crash when running
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.