From b115034a6f2654cb4501cc2d67aba74abd075031 Mon Sep 17 00:00:00 2001 From: Joseph Hunkeler Date: Fri, 22 Mar 2024 11:23:50 -0400 Subject: Populate the strlist returned by delivery_build_wheels so we can actually free the array. Unused for now. --- src/main.c | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index e57b014..c61a79a 100644 --- a/src/main.c +++ b/src/main.c @@ -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); } -- cgit