mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-01-08 04:54:05 -05:00
Add New Compiler Flags for BLST (#7352)
* add new c opts * remove * add to asm * fix up benchamrks * Merge refs/heads/master into addNewOpts
This commit is contained in:
4
third_party/blst/blst.BUILD
vendored
4
third_party/blst/blst.BUILD
vendored
@@ -12,6 +12,8 @@ go_library(
|
||||
"-D__BLST_CGO__",
|
||||
"-Ibindings",
|
||||
"-Isrc",
|
||||
"-D__BLST_PORTABLE__",
|
||||
"-O",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:amd64": [
|
||||
"-mno-avx",
|
||||
@@ -69,6 +71,8 @@ cc_library(
|
||||
"build/assembly.S",
|
||||
],
|
||||
copts = [
|
||||
"-D__BLST_PORTABLE__",
|
||||
"-O",
|
||||
] + select({
|
||||
"@io_bazel_rules_go//go/platform:amd64": [
|
||||
"-mno-avx",
|
||||
|
||||
Reference in New Issue
Block a user