* Bug fix in var/spack/repos/builtin/packages/py-awscrt/package.py: on Linux, tell aws-crt-python to use libcrypto from spack (openssl) * Bug fix in var/spack/repos/builtin/packages/py-awscrt/package.py: add missing build dependencies cmake (for all), openssl (for linux) * Update var/spack/repos/builtin/packages/py-awscrt/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> --------- Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
This commit is contained in:
parent
149d1946ee
commit
26e063177d
@ -16,4 +16,11 @@ class PyAwscrt(PythonPackage):
|
|||||||
|
|
||||||
version("0.16.16", sha256="13075df2c1d7942fe22327b6483274517ee0f6ae765c4e6b6ae9ef5b4c43a827")
|
version("0.16.16", sha256="13075df2c1d7942fe22327b6483274517ee0f6ae765c4e6b6ae9ef5b4c43a827")
|
||||||
|
|
||||||
|
depends_on("cmake@3.1:", type=("build"))
|
||||||
|
depends_on("openssl", type=("build"), when="platform=linux")
|
||||||
depends_on("py-setuptools", type=("build"))
|
depends_on("py-setuptools", type=("build"))
|
||||||
|
|
||||||
|
# On Linux, tell aws-crt-python to use libcrypto from spack (openssl)
|
||||||
|
def setup_build_environment(self, env):
|
||||||
|
with when("platform=linux"):
|
||||||
|
env.set("AWS_CRT_BUILD_USE_SYSTEM_LIBCRYPTO", 1)
|
||||||
|
Loading…
Reference in New Issue
Block a user