openkim-models-2019-07-25

Closes #42434.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Ryan S. Elliott 2019-07-25 12:08:44 -05:00 committed by Chongyu Zhu
parent d03fafe33e
commit 2eddd0dcb2
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -1,8 +1,8 @@
class OpenkimModels < Formula
desc "All OpenKIM Models compatible with kim-api"
homepage "https://openkim.org"
url "https://s3.openkim.org/archives/collection/openkim-models-2019-03-29.txz"
sha256 "053dda2023fe4bb6d7c1d66530c758c4e633bbf1f1be17b6b075b276fe8874f6"
url "https://s3.openkim.org/archives/collection/openkim-models-2019-07-25.txz"
sha256 "50338084ece92ec0fb13b0bbdf357b5d7450e26068ba501f23c315f814befc26"
bottle do
sha256 "5df2dd7cafd40fa451fb1cd12df7b32f1de2fbde7d8f5de4c64fd5cd63b72ce5" => :mojave
@ -16,7 +16,7 @@ class OpenkimModels < Formula
def install
args = std_cmake_args
args << "-DKIM_API_MODEL_DRIVER_INSTALL_PREFIX=#{lib}/openkim-models/model-drivers"
args << "-DKIM_API_MODEL_INSTALL_PREFIX=#{lib}/openkim-models/models"
args << "-DKIM_API_PORTABLE_MODEL_INSTALL_PREFIX=#{lib}/openkim-models/portable-models"
args << "-DKIM_API_SIMULATOR_MODEL_INSTALL_PREFIX=#{lib}/openkim-models/simulator-models"
system "cmake", ".", *args
system "make", "install"