diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 11:23:50 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-03-22 22:20:27 -0400 |
commit | b115034a6f2654cb4501cc2d67aba74abd075031 (patch) | |
tree | c502ae10aa19f29e076d1499715a68633837c1c9 | |
parent | bf99f70b9601b53891d433011610ac6cf892a9b3 (diff) | |
download | stasis-b115034a6f2654cb4501cc2d67aba74abd075031.tar.gz |
Populate the strlist returned by delivery_build_wheels so we can actually free the array.
Unused for now.
-rw-r--r-- | src/main.c | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -466,10 +466,15 @@ int main(int argc, char *argv[], char *arge[]) { msg(OMC_MSG_L3, "Installing deferred pip packages\n"); if (strlist_count(ctx.conda.pip_packages_defer)) { - // TODO: wheels would be nice, but can't right now - if (!delivery_build_wheels(&ctx)) { + struct StrList *wheel_files; + if (!(wheel_files = delivery_build_wheels(&ctx))) { exit(1); } + + // TODO: I want to believe the list returned by delivery_build_wheels + // TODO: intended for delivery_copy_wheel_artifacts... investigate. + guard_strlist_free(wheel_files); // unused for now + if (delivery_copy_wheel_artifacts(&ctx)) { exit(1); } |