Revert "fix CI issues related to moving dependencies (#4023)"

This reverts commit ec62904617.
This commit is contained in:
Klaim (Joël Lamotte) 2025-07-31 11:08:42 +02:00
parent 28cf27362b
commit 87f2cc601e
5 changed files with 2 additions and 19 deletions

View File

@ -23,8 +23,7 @@
{
"cacheVariables": {
"BUILD_MICROMAMBA": "ON",
"BUILD_STATIC": "ON",
"ENABLE_WIN32_XMLLITE": "ON"
"BUILD_STATIC": "ON"
},
"hidden": true,
"name": "mamba-static"

View File

@ -47,7 +47,7 @@ dependencies:
- scikit-build
# libmambapy dependencies
- python
- pybind11<3.0.0
- pybind11
# libmambapy-stubs build dependencies
- mypy # For stubgen
- setuptools

View File

@ -563,15 +563,6 @@ macro(libmamba_create_target target_name linkage output_name)
set(CMAKE_PREFIX_PATH "$ENV{VCPKG_ROOT}/installed/x64-windows-static-md/")
# TODO AND CONTEXT: We found a link error in libarchive which lacked a link to XmlLite
# which is provided by Windows. libarchive has cmake scripts doing the necessary work to
# link that library but for some reason we couldnt identify it is not linking in this
# specific case (it was before but the version changed apparently). As a workaround we
# manually link with that required library but a better solution would be to find why
# libarchive doesnt do it itself.
set(SYSTEM_PROVIDED_LIBRARIES XmlLite.lib) # required by libarchive
set(ENABLE_WIN32_XMLLITE ON)
# For Windows we have a vcpkg based build system right now.
find_package(LibArchive MODULE REQUIRED)
find_package(CURL CONFIG REQUIRED)
@ -591,7 +582,6 @@ macro(libmamba_create_target target_name linkage output_name)
${target_name}
PUBLIC
${CRYPTO_LIBRARIES}
${SYSTEM_PROVIDED_LIBRARIES}
${LibArchive_LIBRARY}
${LIBXML2_LIBRARY}
${ICONV_LIBRARY}

View File

@ -5,7 +5,6 @@
// The full license is in the file LICENSE, distributed with this software.
#include <array>
#include <cassert>
#include <cstdint>
#include <cstring>
#include <ranges>

View File

@ -3,11 +3,6 @@
"dependencies": [
"zstd",
"curl",
"libiconv",
{
"features": ["iconv", "lzma", "zlib"],
"name": "libxml2"
},
{
"name": "winreg",
"platform": "windows"