diff --git a/.azure-pipelines/azure-pipelines-linux.yml b/.azure-pipelines/azure-pipelines-linux.yml index 1443bee..2bcc5af 100755 --- a/.azure-pipelines/azure-pipelines-linux.yml +++ b/.azure-pipelines/azure-pipelines-linux.yml @@ -72,6 +72,33 @@ jobs: variables: {} steps: + - script: | + sudo mkdir -p /opt/empty_dir || true + for d in \ + /opt/ghc \ + /opt/hostedtoolcache \ + /usr/lib/jvm \ + /usr/local/.ghcup \ + /usr/local/lib/android \ + /usr/local/share/powershell \ + /usr/share/dotnet \ + /usr/share/swift \ + ; do + sudo rsync --stats -a --delete /opt/empty_dir/ $d || true + done + sudo apt-get purge -y -f firefox \ + google-chrome-stable \ + microsoft-edge-stable + sudo apt-get autoremove -y >& /dev/null + sudo apt-get autoclean -y >& /dev/null + df -h + displayName: Manage disk space + - script: | + sudo fallocate -l 15GiB /swapfile || true + sudo chmod 600 /swapfile || true + sudo mkswap /swapfile || true + sudo swapon /swapfile || true + displayName: Create swap file # configure qemu binfmt-misc running. This allows us to run docker containers # embedded qemu-static - script: | diff --git a/.ci_support/osx_64_numpy2.0python3.10.____cpython.yaml b/.ci_support/osx_64_numpy2.0python3.10.____cpython.yaml index 36d610d..01ac1c7 100644 --- a/.ci_support/osx_64_numpy2.0python3.10.____cpython.yaml +++ b/.ci_support/osx_64_numpy2.0python3.10.____cpython.yaml @@ -11,7 +11,7 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- clangxx +- clang_bootstrap cxx_compiler_version: - '17' macos_machine: diff --git a/.ci_support/osx_64_numpy2.0python3.11.____cpython.yaml b/.ci_support/osx_64_numpy2.0python3.11.____cpython.yaml index f225ea3..e501ea9 100644 --- a/.ci_support/osx_64_numpy2.0python3.11.____cpython.yaml +++ b/.ci_support/osx_64_numpy2.0python3.11.____cpython.yaml @@ -11,7 +11,7 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- clangxx +- clang_bootstrap cxx_compiler_version: - '17' macos_machine: diff --git a/.ci_support/osx_64_numpy2.0python3.12.____cpython.yaml b/.ci_support/osx_64_numpy2.0python3.12.____cpython.yaml index db869e3..12eed84 100644 --- a/.ci_support/osx_64_numpy2.0python3.12.____cpython.yaml +++ b/.ci_support/osx_64_numpy2.0python3.12.____cpython.yaml @@ -11,7 +11,7 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- clangxx +- clang_bootstrap cxx_compiler_version: - '17' macos_machine: diff --git a/.ci_support/osx_64_numpy2.0python3.9.____cpython.yaml b/.ci_support/osx_64_numpy2.0python3.9.____cpython.yaml index 0670877..593fa2c 100644 --- a/.ci_support/osx_64_numpy2.0python3.9.____cpython.yaml +++ b/.ci_support/osx_64_numpy2.0python3.9.____cpython.yaml @@ -11,7 +11,7 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- clangxx +- clang_bootstrap cxx_compiler_version: - '17' macos_machine: diff --git a/.ci_support/osx_64_numpy2python3.13.____cp313.yaml b/.ci_support/osx_64_numpy2python3.13.____cp313.yaml index 56eb426..5b8105d 100644 --- a/.ci_support/osx_64_numpy2python3.13.____cp313.yaml +++ b/.ci_support/osx_64_numpy2python3.13.____cp313.yaml @@ -11,7 +11,7 @@ channel_sources: channel_targets: - conda-forge main cxx_compiler: -- clangxx +- clang_bootstrap cxx_compiler_version: - '17' macos_machine: diff --git a/conda-forge.yml b/conda-forge.yml index 62e0583..77086a5 100644 --- a/conda-forge.yml +++ b/conda-forge.yml @@ -1,3 +1,7 @@ +azure: + free_disk_space: true + settings_linux: + swapfile_size: 15GiB bot: version_updates: sources: diff --git a/recipe/conda_build_config.yaml b/recipe/conda_build_config.yaml index dc9b1c9..2cea240 100644 --- a/recipe/conda_build_config.yaml +++ b/recipe/conda_build_config.yaml @@ -1,7 +1,4 @@ -c_compiler: # [osx and arm64] - - clang_bootstrap # [osx and arm64] -cxx_compiler: # [osx and arm64] - - clang_bootstrap # [osx and arm64] -# needs newer macos from LLVM 17 -c_stdlib_version: # [osx and x86_64] - - "10.13" # [osx and x86_64] +c_compiler: # [osx] + - clang_bootstrap # [osx] +cxx_compiler: # [osx] + - clang_bootstrap # [osx] diff --git a/recipe/meta.yaml b/recipe/meta.yaml index a43bb66..f7cba23 100644 --- a/recipe/meta.yaml +++ b/recipe/meta.yaml @@ -1,18 +1,18 @@ -{% set version = "18.1.8" %} +{% set version = "19.1.0" %} package: name: mlir-python-bindings version: {{ version }} source: - - url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "rc") }}.src.tar.xz - sha256: 0b58557a6d32ceee97c8d533a59b9212d87e0fc4d2833924eb6c611247db2f2a + - url: https://github.com/llvm/llvm-project/releases/download/llvmorg-{{ version.replace(".rc", "-rc") }}/llvm-project-{{ version.replace(".rc", "-rc") }}.src.tar.xz + sha256: 5042522b49945bc560ff9206f25fb87980a9b89b914193ca00d961511ff0673c patches: # https://reviews.llvm.org/D99470 - 0001-Support-cross-compiling-standalone-MLIR.patch build: - number: 2 + number: 0 always_include_files: # Must overwrite cmake metadata from mlir - lib/cmake/mlir/ # [unix]