diff options
| author | ruki <[email protected]> | 2021-08-19 00:39:07 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2021-08-19 00:39:07 +0800 |
| commit | c3b21f59947f34aa38881f621d21fd76fef5f008 (patch) | |
| tree | f352817088b797c4cb66e0b20a03656c752c6a58 /xmake/modules/private/action/require/impl/package.lua | |
| parent | 97df909b7731b4fa4a6bb399e6fffba4e76ce09f (diff) | |
check buildhash
Diffstat (limited to 'xmake/modules/private/action/require/impl/package.lua')
| -rw-r--r-- | xmake/modules/private/action/require/impl/package.lua | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xmake/modules/private/action/require/impl/package.lua b/xmake/modules/private/action/require/impl/package.lua index 627d5e70e..148758c59 100644 --- a/xmake/modules/private/action/require/impl/package.lua +++ b/xmake/modules/private/action/require/impl/package.lua @@ -747,6 +747,11 @@ function _load_package(packagename, requireinfo, opt) on_load(package) end + -- check build hash + if locked_requireinfo and locked_requireinfo.buildhash ~= package:buildhash() then + wprint("package(%s): buildhash is not matched in xmake-requires.lock", package:displayname(), locked_requireinfo.buildhash, package:buildhash()) + end + -- load environments from the manifest to enable the environments of on_install() package:envs_load() |
