{"action":"created","comment":{"url":"https://api.github.com/repos/LLNL/spack/pulls/comments/98999479","pull_request_review_id":19660314,"id":98999479,"diff_hunk":"@@ -0,0 +1,112 @@\n+##############################################################################\n+# Copyright (c) 2013-2016, Lawrence Livermore National Security, LLC.\n+# Produced at the Lawrence Livermore National Laboratory.\n+#\n+# This file is part of Spack.\n+# Created by Todd Gamblin, tgamblin@llnl.gov, All rights reserved.\n+# LLNL-CODE-647188\n+#\n+# For details, see https://github.com/llnl/spack\n+# Please also see the LICENSE file for our notice and the LGPL.\n+#\n+# This program is free software; you can redistribute it and/or modify\n+# it under the terms of the GNU Lesser General Public License (as\n+# published by the Free Software Foundation) version 2.1, February 1999.\n+#\n+# This program is distributed in the hope that it will be useful, but\n+# WITHOUT ANY WARRANTY; without even the IMPLIED WARRANTY OF\n+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the terms and\n+# conditions of the GNU Lesser General Public License for more details.\n+#\n+# You should have received a copy of the GNU Lesser General Public\n+# License along with this program; if not, write to the Free Software\n+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\n+##############################################################################\n+from spack import *\n+\n+\n+class Elemental(CMakePackage):\n+    \"\"\"Elemental: Distributed-memory dense and sparse-direct linear algebra and optimization library.\"\"\"\n+\n+    homepage = \"http://libelemental.org\"\n+    url      = \"https://github.com/elemental/Elemental/archive/v0.87.6.tar.gz\"\n+\n+    version('0.87.6', '9fd29783d45b0a0e27c0df85f548abe9')\n+\n+    variant('debug', default=False, \n+            description='Builds a debug version of the libraries')\n+    variant('shared', default=True, \n+            description='Enables the build of shared libraries')\n+    variant('hybrid', default=True, \n+            description='Elemental: make use of OpenMP within MPI packing/unpacking')\n+    variant('c_interface', default=False, \n+            description='Elemental: build C interface')\n+    variant('python_package', default=False, \n+            description='Elemental: install Python interface')\n+    variant('disable_parmetis', default=True, \n+            description='Elemental: disable ParMETIS')\n+    variant('disable_quad', default=True, \n+            description='Elemental: disable quad precision')\n+    variant('int64', default=False, \n+            description='Elemental: use 64bit integers')\n+    variant('int64_blas', default=False, \n+            description='Elemental: use 64bit integers for BLAS')\n+    variant('scalapack', default=False,\n+            description='Elemental: build with ScaLAPACK library')\n+\n+    depends_on('cmake', type='build')\n+    depends_on('openblas +openmp', when='~int64_blas')\n+    depends_on('metis')\n+    depends_on('metis +int64', when='+int64')\n+    depends_on('mpi')\n+    depends_on('netlib-scalapack', when='+scalapack ~int64_blas')\n+\n+    def build_type(self):\n+        \"\"\"Returns the correct value for the ``CMAKE_BUILD_TYPE`` variable\n+        :return: value for ``CMAKE_BUILD_TYPE``\n+        \"\"\"","path":"var/spack/repos/builtin/packages/elemental/package.py","position":67,"original_position":67,"commit_id":"1c55e67bd82228291d50e99bedc383e04d925bbc","original_commit_id":"1c55e67bd82228291d50e99bedc383e04d925bbc","user":{"login":"adamjstewart","id":12021217,"avatar_url":"https://avatars.githubusercontent.com/u/12021217?v=3","gravatar_id":"","url":"https://api.github.com/users/adamjstewart","html_url":"https://github.com/adamjstewart","followers_url":"https://api.github.com/users/adamjstewart/followers","following_url":"https://api.github.com/users/adamjstewart/following{/other_user}","gists_url":"https://api.github.com/users/adamjstewart/gists{/gist_id}","starred_url":"https://api.github.com/users/adamjstewart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamjstewart/subscriptions","organizations_url":"https://api.github.com/users/adamjstewart/orgs","repos_url":"https://api.github.com/users/adamjstewart/repos","events_url":"https://api.github.com/users/adamjstewart/events{/privacy}","received_events_url":"https://api.github.com/users/adamjstewart/received_events","type":"User","site_admin":false},"body":"http://spack.readthedocs.io/en/latest/spack.build_systems.html#spack.build_systems.cmake.CMakePackage.build_type","created_at":"2017-02-01T21:28:32Z","updated_at":"2017-02-01T21:28:32Z","html_url":"https://github.com/LLNL/spack/pull/2991#discussion_r98999479","pull_request_url":"https://api.github.com/repos/LLNL/spack/pulls/2991","_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments/98999479"},"html":{"href":"https://github.com/LLNL/spack/pull/2991#discussion_r98999479"},"pull_request":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2991"}}},"pull_request":{"url":"https://api.github.com/repos/LLNL/spack/pulls/2991","id":104207146,"html_url":"https://github.com/LLNL/spack/pull/2991","diff_url":"https://github.com/LLNL/spack/pull/2991.diff","patch_url":"https://github.com/LLNL/spack/pull/2991.patch","issue_url":"https://api.github.com/repos/LLNL/spack/issues/2991","number":2991,"state":"open","locked":false,"title":"Elemental","user":{"login":"bvanessen","id":6210171,"avatar_url":"https://avatars.githubusercontent.com/u/6210171?v=3","gravatar_id":"","url":"https://api.github.com/users/bvanessen","html_url":"https://github.com/bvanessen","followers_url":"https://api.github.com/users/bvanessen/followers","following_url":"https://api.github.com/users/bvanessen/following{/other_user}","gists_url":"https://api.github.com/users/bvanessen/gists{/gist_id}","starred_url":"https://api.github.com/users/bvanessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvanessen/subscriptions","organizations_url":"https://api.github.com/users/bvanessen/orgs","repos_url":"https://api.github.com/users/bvanessen/repos","events_url":"https://api.github.com/users/bvanessen/events{/privacy}","received_events_url":"https://api.github.com/users/bvanessen/received_events","type":"User","site_admin":false},"body":"Added a package for the Elemental distributed linear algebra library.","created_at":"2017-02-01T19:44:30Z","updated_at":"2017-02-01T21:28:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"321ebfa39e779d573f288f59abf71f70bc39a995","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/LLNL/spack/pulls/2991/commits","review_comments_url":"https://api.github.com/repos/LLNL/spack/pulls/2991/comments","review_comment_url":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LLNL/spack/issues/2991/comments","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/1c55e67bd82228291d50e99bedc383e04d925bbc","head":{"label":"bvanessen:elemental","ref":"elemental","sha":"1c55e67bd82228291d50e99bedc383e04d925bbc","user":{"login":"bvanessen","id":6210171,"avatar_url":"https://avatars.githubusercontent.com/u/6210171?v=3","gravatar_id":"","url":"https://api.github.com/users/bvanessen","html_url":"https://github.com/bvanessen","followers_url":"https://api.github.com/users/bvanessen/followers","following_url":"https://api.github.com/users/bvanessen/following{/other_user}","gists_url":"https://api.github.com/users/bvanessen/gists{/gist_id}","starred_url":"https://api.github.com/users/bvanessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvanessen/subscriptions","organizations_url":"https://api.github.com/users/bvanessen/orgs","repos_url":"https://api.github.com/users/bvanessen/repos","events_url":"https://api.github.com/users/bvanessen/events{/privacy}","received_events_url":"https://api.github.com/users/bvanessen/received_events","type":"User","site_admin":false},"repo":{"id":80652406,"name":"spack","full_name":"bvanessen/spack","owner":{"login":"bvanessen","id":6210171,"avatar_url":"https://avatars.githubusercontent.com/u/6210171?v=3","gravatar_id":"","url":"https://api.github.com/users/bvanessen","html_url":"https://github.com/bvanessen","followers_url":"https://api.github.com/users/bvanessen/followers","following_url":"https://api.github.com/users/bvanessen/following{/other_user}","gists_url":"https://api.github.com/users/bvanessen/gists{/gist_id}","starred_url":"https://api.github.com/users/bvanessen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bvanessen/subscriptions","organizations_url":"https://api.github.com/users/bvanessen/orgs","repos_url":"https://api.github.com/users/bvanessen/repos","events_url":"https://api.github.com/users/bvanessen/events{/privacy}","received_events_url":"https://api.github.com/users/bvanessen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bvanessen/spack","description":"A flexible package manager that supports multiple versions, configurations, platforms, and compilers.","fork":true,"url":"https://api.github.com/repos/bvanessen/spack","forks_url":"https://api.github.com/repos/bvanessen/spack/forks","keys_url":"https://api.github.com/repos/bvanessen/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bvanessen/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bvanessen/spack/teams","hooks_url":"https://api.github.com/repos/bvanessen/spack/hooks","issue_events_url":"https://api.github.com/repos/bvanessen/spack/issues/events{/number}","events_url":"https://api.github.com/repos/bvanessen/spack/events","assignees_url":"https://api.github.com/repos/bvanessen/spack/assignees{/user}","branches_url":"https://api.github.com/repos/bvanessen/spack/branches{/branch}","tags_url":"https://api.github.com/repos/bvanessen/spack/tags","blobs_url":"https://api.github.com/repos/bvanessen/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bvanessen/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bvanessen/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/bvanessen/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bvanessen/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/bvanessen/spack/languages","stargazers_url":"https://api.github.com/repos/bvanessen/spack/stargazers","contributors_url":"https://api.github.com/repos/bvanessen/spack/contributors","subscribers_url":"https://api.github.com/repos/bvanessen/spack/subscribers","subscription_url":"https://api.github.com/repos/bvanessen/spack/subscription","commits_url":"https://api.github.com/repos/bvanessen/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/bvanessen/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/bvanessen/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/bvanessen/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/bvanessen/spack/contents/{+path}","compare_url":"https://api.github.com/repos/bvanessen/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bvanessen/spack/merges","archive_url":"https://api.github.com/repos/bvanessen/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bvanessen/spack/downloads","issues_url":"https://api.github.com/repos/bvanessen/spack/issues{/number}","pulls_url":"https://api.github.com/repos/bvanessen/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/bvanessen/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/bvanessen/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bvanessen/spack/labels{/name}","releases_url":"https://api.github.com/repos/bvanessen/spack/releases{/id}","deployments_url":"https://api.github.com/repos/bvanessen/spack/deployments","created_at":"2017-02-01T18:52:16Z","updated_at":"2017-02-01T18:52:21Z","pushed_at":"2017-02-01T19:43:09Z","git_url":"git://github.com/bvanessen/spack.git","ssh_url":"git@github.com:bvanessen/spack.git","clone_url":"https://github.com/bvanessen/spack.git","svn_url":"https://github.com/bvanessen/spack","homepage":"http://spack.io","size":20095,"stargazers_count":0,"watchers_count":0,"language":"Python","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"develop"}},"base":{"label":"LLNL:develop","ref":"develop","sha":"a08ccbedeede499a568c5c818579320ab41247c4","user":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"repo":{"id":15730865,"name":"spack","full_name":"LLNL/spack","owner":{"login":"LLNL","id":5921419,"avatar_url":"https://avatars.githubusercontent.com/u/5921419?v=3","gravatar_id":"","url":"https://api.github.com/users/LLNL","html_url":"https://github.com/LLNL","followers_url":"https://api.github.com/users/LLNL/followers","following_url":"https://api.github.com/users/LLNL/following{/other_user}","gists_url":"https://api.github.com/users/LLNL/gists{/gist_id}","starred_url":"https://api.github.com/users/LLNL/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LLNL/subscriptions","organizations_url":"https://api.github.com/users/LLNL/orgs","repos_url":"https://api.github.com/users/LLNL/repos","events_url":"https://api.github.com/users/LLNL/events{/privacy}","received_events_url":"https://api.github.com/users/LLNL/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/LLNL/spack","description":"A flexible package manager that supports multiple versions, configurations, platforms, and compilers.","fork":false,"url":"https://api.github.com/repos/LLNL/spack","forks_url":"https://api.github.com/repos/LLNL/spack/forks","keys_url":"https://api.github.com/repos/LLNL/spack/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LLNL/spack/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LLNL/spack/teams","hooks_url":"https://api.github.com/repos/LLNL/spack/hooks","issue_events_url":"https://api.github.com/repos/LLNL/spack/issues/events{/number}","events_url":"https://api.github.com/repos/LLNL/spack/events","assignees_url":"https://api.github.com/repos/LLNL/spack/assignees{/user}","branches_url":"https://api.github.com/repos/LLNL/spack/branches{/branch}","tags_url":"https://api.github.com/repos/LLNL/spack/tags","blobs_url":"https://api.github.com/repos/LLNL/spack/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LLNL/spack/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LLNL/spack/git/refs{/sha}","trees_url":"https://api.github.com/repos/LLNL/spack/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LLNL/spack/statuses/{sha}","languages_url":"https://api.github.com/repos/LLNL/spack/languages","stargazers_url":"https://api.github.com/repos/LLNL/spack/stargazers","contributors_url":"https://api.github.com/repos/LLNL/spack/contributors","subscribers_url":"https://api.github.com/repos/LLNL/spack/subscribers","subscription_url":"https://api.github.com/repos/LLNL/spack/subscription","commits_url":"https://api.github.com/repos/LLNL/spack/commits{/sha}","git_commits_url":"https://api.github.com/repos/LLNL/spack/git/commits{/sha}","comments_url":"https://api.github.com/repos/LLNL/spack/comments{/number}","issue_comment_url":"https://api.github.com/repos/LLNL/spack/issues/comments{/number}","contents_url":"https://api.github.com/repos/LLNL/spack/contents/{+path}","compare_url":"https://api.github.com/repos/LLNL/spack/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LLNL/spack/merges","archive_url":"https://api.github.com/repos/LLNL/spack/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LLNL/spack/downloads","issues_url":"https://api.github.com/repos/LLNL/spack/issues{/number}","pulls_url":"https://api.github.com/repos/LLNL/spack/pulls{/number}","milestones_url":"https://api.github.com/repos/LLNL/spack/milestones{/number}","notifications_url":"https://api.github.com/repos/LLNL/spack/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LLNL/spack/labels{/name}","releases_url":"https://api.github.com/repos/LLNL/spack/releases{/id}","deployments_url":"https://api.github.com/repos/LLNL/spack/deployments","created_at":"2014-01-08T09:22:12Z","updated_at":"2017-02-01T18:03:29Z","pushed_at":"2017-02-01T19:44:31Z","git_url":"git://github.com/LLNL/spack.git","ssh_url":"git@github.com:LLNL/spack.git","clone_url":"https://github.com/LLNL/spack.git","svn_url":"https://github.com/LLNL/spack","homepage":"http://spack.io","size":20090,"stargazers_count":208,"watchers_count":208,"language":"Python","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":185,"mirror_url":null,"open_issues_count":499,"forks":185,"open_issues":499,"watchers":208,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2991"},"html":{"href":"https://github.com/LLNL/spack/pull/2991"},"issue":{"href":"https://api.github.com/repos/LLNL/spack/issues/2991"},"comments":{"href":"https://api.github.com/repos/LLNL/spack/issues/2991/comments"},"review_comments":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2991/comments"},"review_comment":{"href":"https://api.github.com/repos/LLNL/spack/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LLNL/spack/pulls/2991/commits"},"statuses":{"href":"https://api.github.com/repos/LLNL/spack/statuses/1c55e67bd82228291d50e99bedc383e04d925bbc"}}}}
{"actor":{"display_login":"adamjstewart"}}