Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
154426a
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration CFEP1…
cf-blacksmithy Apr 2, 2021
c7cfe0c
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration Conda…
conda-forge-admin Dec 15, 2021
4e8517f
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration Conda…
conda-forge-admin Dec 17, 2021
d175487
Merge branch 'master' into 14.rc1
xhochy Feb 22, 2022
a5c83ab
Build 14.0.0.rc1
xhochy Feb 22, 2022
7951eaa
Helper libs are no longer installed
xhochy Feb 22, 2022
c5f3393
Update to vs2019
xhochy Feb 22, 2022
7bbc725
Revert "Helper libs are no longer installed"
xhochy Feb 23, 2022
b6a381e
Revert upstream patch; use ninja
xhochy Feb 24, 2022
dbdeef9
Merge pull request #11 from xhochy/14.rc1
xhochy Feb 25, 2022
340aa99
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration Conda…
conda-forge-curator[bot] Nov 2, 2022
94ae112
[ci skip] [skip ci] [cf admin skip] ***NO_CI*** admin migration DotConda
conda-forge-curator[bot] Nov 18, 2022
f0a3f8f
Merge remote-tracking branch 'upstream/main' into rc
h-vetinari Feb 7, 2023
288587f
remove obsolete compiler pins
h-vetinari Feb 6, 2023
845213d
add llvm_rc-channel sources & targets
h-vetinari Feb 6, 2023
265fbbf
MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.22.1, and co…
h-vetinari Feb 6, 2023
80acabc
move patch to folder; remove obsolete one
h-vetinari Feb 6, 2023
f7da622
bump to 16.0.0.rc1
h-vetinari Feb 6, 2023
6345b1b
rebase patch
h-vetinari Feb 6, 2023
2ef9f83
set CMAKE_CXX_STANDARD=17 as code expects
h-vetinari Feb 7, 2023
53643d7
Merge pull request #32 from h-vetinari/rc
h-vetinari Feb 9, 2023
571e97d
bump to 16.0.0.rc2
h-vetinari Feb 9, 2023
df01858
bump to 16.0.0.rc2 (#36)
github-actions[bot] Feb 10, 2023
37e08a5
bump to 16.0.0.rc3
h-vetinari Feb 24, 2023
6b989d4
remove patch that was backported
h-vetinari Feb 24, 2023
14d9116
MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.23.0, and co…
h-vetinari Feb 24, 2023
382992e
go back to win-2019 image
h-vetinari Feb 24, 2023
3f61994
mlir 16.0.0.rc3 (#37)
github-actions[bot] Feb 25, 2023
5ddfdb0
switch to same llvm_rc label as rest of stack
h-vetinari Mar 4, 2023
5a87059
MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.23.0, and co…
h-vetinari Mar 4, 2023
611cbb4
Merge pull request #38 from h-vetinari/rc
xhochy Mar 9, 2023
7bd2322
bump to 16.0.0.rc4
h-vetinari Mar 15, 2023
514918c
Revert "go back to win-2019 image"
h-vetinari Mar 15, 2023
8897c5b
bump to 16.0.0.rc4 (#39)
github-actions[bot] Mar 15, 2023
facdfa0
updated v16.0.0
regro-cf-autotick-bot Mar 18, 2023
b8904b0
MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.23.0, and co…
regro-cf-autotick-bot Mar 18, 2023
9077b92
Merge remote-tracking branch 'upstream/rc' into 16.0.0_h6fa943
h-vetinari Mar 18, 2023
8608755
remove rc-channels
h-vetinari Mar 18, 2023
b010b49
MNT: Re-rendered with conda-build 3.23.3, conda-smithy 3.23.0, and co…
h-vetinari Mar 18, 2023
4de7873
Fix cross compilation
isuruf Mar 19, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .azure-pipelines/azure-pipelines-win.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/build_steps.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions .scripts/run_osx_build.sh

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

17 changes: 9 additions & 8 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions recipe/bld.bat
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
@echo on
mkdir build
cd build

Expand Down
2 changes: 1 addition & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ fi

if [[ "${CONDA_BUILD_CROSS_COMPILATION:-0}" == "1" ]]; then
CMAKE_ARGS="${CMAKE_ARGS} -DLLVM_TABLEGEN_EXE=$BUILD_PREFIX/bin/llvm-tblgen -DNATIVE_LLVM_DIR=$BUILD_PREFIX/lib/cmake/llvm"
CMAKE_ARGS="${CMAKE_ARGS} -DCROSS_TOOLCHAIN_FLAGS_NATIVE=-DCMAKE_C_COMPILER=$CC_FOR_BUILD;-DCMAKE_CXX_COMPILER=$CXX_FOR_BUILD;-DCMAKE_C_FLAGS=-O2;-DCMAKE_CXX_FLAGS=-O2;-DCMAKE_EXE_LINKER_FLAGS=\"-L$BUILD_PREFIX/lib\";-DCMAKE_MODULE_LINKER_FLAGS=;-DCMAKE_SHARED_LINKER_FLAGS=;-DCMAKE_STATIC_LINKER_FLAGS=;-DCMAKE_AR=$(which ${AR});-DCMAKE_RANLIB=$(which ${RANLIB});-DZLIB_ROOT=${BUILD_PREFIX}"
CMAKE_ARGS="${CMAKE_ARGS} -DCROSS_TOOLCHAIN_FLAGS_NATIVE=-DCMAKE_C_COMPILER=$CC_FOR_BUILD;-DCMAKE_CXX_COMPILER=$CXX_FOR_BUILD;-DCMAKE_C_FLAGS=-O2;-DCMAKE_CXX_FLAGS=-O2;-DCMAKE_EXE_LINKER_FLAGS=\"-L$BUILD_PREFIX/lib\";-DCMAKE_MODULE_LINKER_FLAGS=;-DCMAKE_SHARED_LINKER_FLAGS=;-DCMAKE_STATIC_LINKER_FLAGS=;-DCMAKE_AR=$(which ${AR});-DCMAKE_RANLIB=$(which ${RANLIB});-DCMAKE_PREFIX_PATH=${BUILD_PREFIX}"
else
rm -rf $BUILD_PREFIX/bin/llvm-tblgen
fi
Expand Down
4 changes: 0 additions & 4 deletions recipe/conda_build_config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,3 @@ c_compiler: # [osx and arm64]
- clang_bootstrap # [osx and arm64]
cxx_compiler: # [osx and arm64]
- clang_bootstrap # [osx and arm64]
c_compiler: # [win]
- vs2019 # [win]
cxx_compiler: # [win]
- vs2019 # [win]
6 changes: 3 additions & 3 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{% set version = "15.0.7" %}
{% set version = "16.0.0" %}
{% set major_version = version.split(".")[0] %}

package:
Expand All @@ -7,10 +7,10 @@ package:

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: 8b5fcb24b4128cf04df1b0b9410ce8b1a729cb3c544e6da885d234280dedeac6
sha256: 9a56d906a2c81f16f06efc493a646d497c53c2f4f28f0cb1f3c8da7f74350254
patches:
# https://reviews.llvm.org/D99470
- 0001-Support-cross-compiling-standalone-MLIR.patch
- patches/0001-Support-cross-compiling-standalone-MLIR.patch

build:
number: 0
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
From a43d733a668d9cba02eeb79a49cbdaed17e3749a Mon Sep 17 00:00:00 2001
From 23936ca8ed236eec1201051962900334c4455ab3 Mon Sep 17 00:00:00 2001
From: Isuru Fernando <isuruf@gmail.com>
Date: Tue, 6 Apr 2021 13:36:08 +0200
Subject: [PATCH] Support cross compiling standalone MLIR
Expand All @@ -8,18 +8,18 @@ Subject: [PATCH] Support cross compiling standalone MLIR
1 file changed, 13 insertions(+)

diff --git a/mlir/CMakeLists.txt b/mlir/CMakeLists.txt
index 088aec88f..9ba5afcbf 100644
index ab690b16a4..f00c819b25 100644
--- a/mlir/CMakeLists.txt
+++ b/mlir/CMakeLists.txt
@@ -30,6 +30,7 @@ if(MLIR_STANDALONE_BUILD)
set(CMAKE_LIBRARY_OUTPUT_DIRECTORY
"${CMAKE_CURRENT_BINARY_DIR}/lib${LLVM_LIBDIR_SUFFIX}")
@@ -42,6 +42,7 @@ if(MLIR_STANDALONE_BUILD)
set(CMAKE_RUNTIME_OUTPUT_DIRECTORY "${CMAKE_CURRENT_BINARY_DIR}/bin")

set(LLVM_LIT_ARGS "-sv" CACHE STRING "Default options for lit")
+ set(MLIR_BUILT_STANDALONE 1)
endif()

set(MLIR_TOOLS_INSTALL_DIR "${CMAKE_INSTALL_BINDIR}" CACHE PATH
@@ -155,6 +156,18 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
@@ -163,6 +164,18 @@ set(CMAKE_INCLUDE_CURRENT_DIR ON)
include_directories( "include")
include_directories( ${MLIR_INCLUDE_DIR})

Expand All @@ -39,5 +39,5 @@ index 088aec88f..9ba5afcbf 100644
# MLIR_TABLEGEN_EXE in PARENT_SCOPE which gets lost if that folder is included
# from another directory like tools
--
2.38.0
2.38.1.windows.1