diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 10:33:14 -0500 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2024-02-06 10:33:14 -0500 |
commit | 23adb30ad46fa977fbcc0ce786dbf852e68324f9 (patch) | |
tree | 78f6d94051cf4273535aa99e13ddaf649fc777a2 /src | |
parent | d0607ffef079f622aa1663d798a79331a149a84f (diff) | |
download | stasis-23adb30ad46fa977fbcc0ce786dbf852e68324f9.tar.gz |
Start building wheels again...
* We don't really lose anything. Disk is cheap.
* Even if not used by the delivery I feel like it might be useful to have a precompiled binary lying around.
Diffstat (limited to 'src')
-rw-r--r-- | src/main.c | 16 |
1 files changed, 15 insertions, 1 deletions
@@ -470,7 +470,21 @@ int main(int argc, char *argv[], char *arge[]) { } msg(OMC_MSG_L3, "Installing deferred pip packages\n"); - delivery_install_packages(&ctx, ctx.storage.conda_install_prefix, env_name, INSTALL_PKG_PIP | INSTALL_PKG_PIP_DEFERRED, (struct StrList *[]) {ctx.conda.pip_packages_defer, NULL}); + if (strlist_count(ctx.conda.pip_packages_defer)) { + // TODO: wheels would be nice, but can't right now + if (!delivery_build_wheels(&ctx)) { + exit(1); + } + if (delivery_copy_wheel_artifacts(&ctx)) { + exit(1); + } + if (delivery_index_wheel_artifacts(&ctx)) { + exit(1); + } + + delivery_install_packages(&ctx, ctx.storage.conda_install_prefix, env_name, INSTALL_PKG_PIP | INSTALL_PKG_PIP_DEFERRED, (struct StrList *[]) {ctx.conda.pip_packages_defer, NULL}); + } + conda_exec("list"); |