forked from ruslo/hunter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'upstream/master' into double-conversion
- Loading branch information
Showing
8 changed files
with
73 additions
and
171 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Copyright (c) 2017, NeroBurner | ||
# All rights reserved. | ||
|
||
include(hunter_report_broken_package) | ||
|
||
#hunter_cacheable(LAPACK) # install is always cacheable | ||
|
||
# determine architecture | ||
include(hunter_check_toolchain_definition) | ||
hunter_check_toolchain_definition(NAME "_WIN64" DEFINED _WIN64_defined) | ||
|
||
if(_WIN64_defined) | ||
hunter_add_version( | ||
PACKAGE_NAME | ||
LAPACK | ||
VERSION | ||
"3.7.1" | ||
URL | ||
https://github.com/hunter-packages/lapack/releases/download/v3.7.1-p0/lapack-prebuilt-3.7.1-msvc-amd64.zip | ||
SHA1 | ||
4a6e51690e36747d51e4334358abac99ca22378c | ||
) | ||
else() | ||
hunter_report_broken_package("LAPACK on MSVC is only available on WIN64") | ||
endif() | ||
|
||
# pass cmake arguments | ||
hunter_cmake_args( | ||
LAPACK | ||
CMAKE_ARGS | ||
HUNTER_INSTALL_LICENSE_FILES=LICENSE | ||
) | ||
|
||
# Pick a download scheme | ||
hunter_pick_scheme(DEFAULT url_sha1_unpack_install) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# Copyright (c) 2017, NeroBurner | ||
# All rights reserved. | ||
|
||
hunter_cacheable(LAPACK) | ||
|
||
# List of versions here... | ||
hunter_add_version( | ||
PACKAGE_NAME | ||
LAPACK | ||
VERSION | ||
"3.7.1" | ||
URL | ||
https://github.com/hunter-packages/lapack/archive/v3.7.1-p0.tar.gz | ||
SHA1 | ||
82616c0878fbe42f22ece5fadfb38e09456ba5b5 | ||
) | ||
|
||
# pass cmake arguments | ||
hunter_cmake_args( | ||
LAPACK | ||
CMAKE_ARGS | ||
HUNTER_INSTALL_LICENSE_FILES=LICENSE | ||
) | ||
|
||
# Pick a download scheme | ||
hunter_pick_scheme(DEFAULT url_sha1_cmake) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters