@@ -0,0 +1,1500 @@
+# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other%0A# Spack Project Developers. See the top-level COPYRIGHT file for details.%0A#%0A# SPDX-License-Identifier: (Apache-2.0 OR MIT)%0A%0Afrom spack import *%0A%0A%0Aclass Pdc(CMakePackage):%0A    %22%22%22Proactive Data Containers (PDC) software provides an object-centric%0A    API and a runtime system with a set of data object management services.%0A    These services allow placing data in the memory and storage hierarchy,%0A    performing data movement asynchronously, and providing scalable%0A    metadata operations to find data objects.%22%22%22%0A%0A    homepage = %22https://pdc.readthedocs.io/en/latest/%22%0A    url      = %22https://github.com/hpc-io/pdc/archive/refs/tags/0.1.tar.gz%22%0A%0A    maintainers = %5B'houjun', 'sbyna'%5D%0A%0A    version('0.1', sha256='01b4207ecf71594a7f339c315f2869b3fa8fbd34b085963dc4c1bdc5b66bb93e')%0A%0A    conflicts('%25clang')%0A    depends_on('libfabric')%0A    depends_on('mercury')%0A    depends_on('mpi')%0A%0A    root_cmakelists_dir = 'src'%0A%0A    def cmake_args(self):%0A        args = %5B%0A            self.define('MPI_C_COMPILER', self.spec%5B'mpi'%5D.mpicc),%0A            self.define('BUILD_MPI_TESTING', 'ON'),%0A            self.define('BUILD_SHARED_LIBS', 'ON'),%0A            self.define('BUILD_TESTING', 'ON'),%0A            self.define('PDC_ENABLE_MPI', 'ON'),%0A            self.define('CMAKE_C_COMPILER', self.spec%5B'mpi'%5D.mpicc)%0A        %5D%0A%0A        if self.spec.satisfies('platform=cray'):%0A            args.append(%22-DRANKSTR_LINK_STATIC=ON%22)%0A        return args%0A

add new package (#24762)