diff options
author | Sascha Roloff <sascha.roloff@huawei.com> | 2023-05-30 19:05:56 +0200 |
---|---|---|
committer | Sascha Roloff <sascha.roloff@huawei.com> | 2023-05-31 13:09:29 +0200 |
commit | 06e3d7e45db8edcac37b5ba34837e8ddab4d549f (patch) | |
tree | fbbb0f6c5412c966871224dfc88fe45f32cad750 /etc | |
parent | a56a6ebae4a116486df48d96705cc8c8b8d81857 (diff) | |
download | rules-cc-06e3d7e45db8edcac37b5ba34837e8ddab4d549f.tar.gz |
Add testcase for cmake dependencies
Diffstat (limited to 'etc')
-rw-r--r-- | etc/imports/libcurl.TARGETS | 6 | ||||
-rw-r--r-- | etc/imports/libs.TARGETS | 9 | ||||
-rw-r--r-- | etc/imports/libz.TARGETS | 6 | ||||
-rw-r--r-- | etc/repos.json | 27 | ||||
-rw-r--r-- | etc/repos.template.json | 27 |
5 files changed, 72 insertions, 3 deletions
diff --git a/etc/imports/libcurl.TARGETS b/etc/imports/libcurl.TARGETS new file mode 100644 index 0000000..f33a101 --- /dev/null +++ b/etc/imports/libcurl.TARGETS @@ -0,0 +1,6 @@ +{ "tree": + { "type": "install" + , "dirs": [[["TREE", null, "."], "libcurl"]] + , "tainted": ["test"] + } +} diff --git a/etc/imports/libs.TARGETS b/etc/imports/libs.TARGETS index f455122..57adf74 100644 --- a/etc/imports/libs.TARGETS +++ b/etc/imports/libs.TARGETS @@ -1,3 +1,10 @@ { "tree": - {"type": "tree", "deps": [["@", "gtest", "", "tree"]], "tainted": ["test"]} + { "type": "tree" + , "deps": + [ ["@", "gtest", "", "tree"] + , ["@", "libz", "", "tree"] + , ["@", "libcurl", "", "tree"] + ] + , "tainted": ["test"] + } } diff --git a/etc/imports/libz.TARGETS b/etc/imports/libz.TARGETS new file mode 100644 index 0000000..5b5ef8f --- /dev/null +++ b/etc/imports/libz.TARGETS @@ -0,0 +1,6 @@ +{ "tree": + { "type": "install" + , "dirs": [[["TREE", null, "."], "libz"]] + , "tainted": ["test"] + } +} diff --git a/etc/repos.json b/etc/repos.json index 793f954..d86dbd7 100644 --- a/etc/repos.json +++ b/etc/repos.json @@ -29,7 +29,7 @@ , "test-libs": { "repository": "imports" , "target_file_name": "libs.TARGETS" - , "bindings": {"gtest": "gtest"} + , "bindings": {"gtest": "gtest", "libz": "libz", "libcurl": "libcurl"} } , "gtest": { "repository": @@ -42,6 +42,31 @@ , "target_root": "imports" , "target_file_name": "gtest.TARGETS" } + , "libz": + { "repository": + { "type": "archive" + , "content": "d115fc690fa59d3be51b3442158876536140b6c2" + , "fetch": "https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz" + , "sha256": "b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30" + , "sha512": "99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad" + , "subdir": "zlib-1.2.13" + } + , "target_root": "imports" + , "target_file_name": "libz.TARGETS" + } + , "libcurl": + { "repository": + { "type": "archive" + , "content": "540b4de2edfa015b894ad86d51b33a55f451ac99" + , "fetch": "https://github.com/curl/curl/releases/download/curl-8_0_1/curl-8.0.1.tar.gz" + , "sha256": "5fd29000a4089934f121eff456101f0a5d09e2a3e89da1d714adf06c4be887cb" + , "sha512": "87d945e65176613c6296f8b130bd6c5355e3ca3c62ee4010edd481950cad9760482fd3be8a84e51501c118c29ebc284b8f87c49b06f9d248e9da5819fda38f8f" + , "subdir": "curl-8.0.1" + } + , "target_root": "imports" + , "target_file_name": "libcurl.TARGETS" + , "bindings": {"libz": "libz"} + } , "just": { "repository": { "type": "git" diff --git a/etc/repos.template.json b/etc/repos.template.json index b18b665..3f1e1e5 100644 --- a/etc/repos.template.json +++ b/etc/repos.template.json @@ -29,7 +29,7 @@ , "test-libs": { "repository": "imports" , "target_file_name": "libs.TARGETS" - , "bindings": {"gtest": "gtest"} + , "bindings": {"gtest": "gtest", "libz": "libz", "libcurl": "libcurl"} } , "gtest": { "repository": @@ -42,5 +42,30 @@ , "target_root": "imports" , "target_file_name": "gtest.TARGETS" } + , "libz": + { "repository": + { "type": "archive" + , "content": "d115fc690fa59d3be51b3442158876536140b6c2" + , "fetch": "https://github.com/madler/zlib/releases/download/v1.2.13/zlib-1.2.13.tar.gz" + , "sha256": "b3a24de97a8fdbc835b9833169501030b8977031bcb54b3b3ac13740f846ab30" + , "sha512": "99f0e843f52290e6950cc328820c0f322a4d934a504f66c7caa76bd0cc17ece4bf0546424fc95135de85a2656fed5115abb835fd8d8a390d60ffaf946c8887ad" + , "subdir": "zlib-1.2.13" + } + , "target_root": "imports" + , "target_file_name": "libz.TARGETS" + } + , "libcurl": + { "repository": + { "type": "archive" + , "content": "540b4de2edfa015b894ad86d51b33a55f451ac99" + , "fetch": "https://github.com/curl/curl/releases/download/curl-8_0_1/curl-8.0.1.tar.gz" + , "sha256": "5fd29000a4089934f121eff456101f0a5d09e2a3e89da1d714adf06c4be887cb" + , "sha512": "87d945e65176613c6296f8b130bd6c5355e3ca3c62ee4010edd481950cad9760482fd3be8a84e51501c118c29ebc284b8f87c49b06f9d248e9da5819fda38f8f" + , "subdir": "curl-8.0.1" + } + , "target_root": "imports" + , "target_file_name": "libcurl.TARGETS" + , "bindings": {"libz": "libz"} + } } } |