Skip to content

Commit

Permalink
Merge branch 'jcsda_emc_spack_stack' of https://github.com/jcsda/spack
Browse files Browse the repository at this point in the history
…into feature/add_fftw_lapack_jedi_neptune_env_passive
  • Loading branch information
climbfuji committed Jan 14, 2024
2 parents f664020 + 2d27c73 commit ac4b440
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 19 deletions.
7 changes: 7 additions & 0 deletions share/spack/templates/container/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ RUN find -L {{ paths.view }}/* -type f -exec readlink -f '{}' \; | \
RUN cd {{ paths.environment }} && \
spack env activate --sh -d . > activate.sh

{% if extra_instructions.build %}
{{ extra_instructions.build }}
{% endif %}
{% endblock build_stage %}
{% endif %}

Expand Down Expand Up @@ -75,6 +78,10 @@ RUN {% if os_package_update %}{{ os_packages_final.update }} \
&& {% endif %}{{ os_packages_final.install }} {{ os_packages_final.list | join | replace('\n', ' ') }} \
&& {{ os_packages_final.clean }}
{% endif %}
{% if extra_instructions.final %}

{{ extra_instructions.final }}
{% endif %}
{% endblock final_stage %}
{% for label, value in labels.items() %}
LABEL "{{ label }}"="{{ value }}"
Expand Down
7 changes: 0 additions & 7 deletions var/spack/repos/builtin/packages/crtm/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,6 @@ class Crtm(CMakePackage):
variant(
"fix", default=False, description='Download CRTM coeffecient or "fix" files (several GBs).'
)
variant(
"build_type",
default="RelWithDebInfo",
description="CMake build type",
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
)

depends_on("cmake@3.15:", type="build")
depends_on("git-lfs")
depends_on("netcdf-fortran", when="@2.4.0:")
Expand Down
6 changes: 0 additions & 6 deletions var/spack/repos/builtin/packages/draco/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,6 @@ class Draco(CMakePackage):
version("6.20.1", sha256="b1c51000c9557e0818014713fce70d681869c50ed9c4548dcfb2e9219c354ebe")
version("6.20.0", sha256="a6e3142c1c90b09c4ff8057bfee974369b815122b01d1f7b57888dcb9b1128f6")

variant(
"build_type",
default="Release",
description="CMake build type",
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
)
variant("caliper", default=False, description="Enable caliper timers support")
variant("cuda", default=False, description="Enable Cuda/GPU support")
variant("eospac", default=True, description="Enable EOSPAC support")
Expand Down
6 changes: 0 additions & 6 deletions var/spack/repos/builtin/packages/libtree/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,6 @@ def url_for_version(self, version):
with when("build_system=cmake"):
variant("chrpath", default=False, description="Use chrpath for deployment")
variant("strip", default=False, description="Use binutils strip for deployment")
variant(
"build_type",
default="RelWithDebInfo",
description="CMake build type",
values=("Debug", "Release", "RelWithDebInfo", "MinSizeRel"),
)
depends_on("googletest", type="test")
depends_on("cmake@3:", type="build")
depends_on("chrpath", when="+chrpath", type="run")
Expand Down
2 changes: 2 additions & 0 deletions var/spack/repos/builtin/packages/py-gevent/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,6 @@ def flag_handler(self, name, flags):
if name == "cflags":
if self.spec.satisfies("%oneapi@2023:"):
flags.append("-Wno-error=incompatible-function-pointer-types")
if self.spec.compiler.name in ["intel", "oneapi"]:
flags.append("-we147")
return (flags, None, None)

0 comments on commit ac4b440

Please sign in to comment.