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:
Nishant Das
2020-09-26 16:48:02 +08:00
committed by GitHub
parent 68d0c09daf
commit 77c95f3051
2 changed files with 10 additions and 37 deletions

View File

@@ -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",