Skip to content

Commit

Permalink
build without schnorr
Browse files Browse the repository at this point in the history
  • Loading branch information
fpelliccioni committed Apr 22, 2019
1 parent 9c6795a commit 91b2ff3
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import copy
import os
import cpuid
import platform
Expand All @@ -22,12 +23,17 @@
options["%s:with_tests" % name] = "True"
# options["%s:with_openssl_tests" % name] = "True"

opts_no_schnorr = copy.deepcopy(options)
opts_no_schnorr["%s:enable_module_schnorr" % name] = "False"

if full_build:
marchs = filter_valid_exts(str(platform.system()), str(settings["compiler"]), float(str(settings["compiler.version"])), ['x86-64', 'haswell', 'skylake'])
else:
marchs = ["x86-64"]

handle_microarchs("%s:microarchitecture" % name, marchs, filtered_builds, settings, options, env_vars, build_requires)
handle_microarchs("%s:microarchitecture" % name, marchs, filtered_builds, settings, opts_no_schnorr, env_vars, build_requires)

filter_marchs_tests(name, filtered_builds, ["%s:with_tests" % name])

builder.builds = filtered_builds
Expand Down

0 comments on commit 91b2ff3

Please sign in to comment.