diff --git a/projects/eudsl-llvmpy/src/llvm/function.py b/projects/eudsl-llvmpy/src/llvm/function.py index a17f94cd..0e2ca6a2 100644 --- a/projects/eudsl-llvmpy/src/llvm/function.py +++ b/projects/eudsl-llvmpy/src/llvm/function.py @@ -10,7 +10,7 @@ from . import ( add_function, - append_basic_block, + append_basic_block_in_context, position_builder_at_end, TypeRef, type_of, @@ -108,7 +108,9 @@ def emit(self, *call_args): if self._is_decl(): return - entry_bb = append_basic_block(function, self.entry_bb_name) + entry_bb = append_basic_block_in_context( + ctx.context, function, self.entry_bb_name + ) position_builder_at_end(ctx.builder, entry_bb) params = [get_param(function, i) for i in range(len(input_types))] diff --git a/projects/mlir-python-bindings-wasm/pyproject.toml b/projects/mlir-python-bindings-wasm/pyproject.toml index 7bea72f2..fa40a2bf 100644 --- a/projects/mlir-python-bindings-wasm/pyproject.toml +++ b/projects/mlir-python-bindings-wasm/pyproject.toml @@ -23,7 +23,9 @@ Discussions = "https://discourse.llvm.org/" requires = [ "scikit-build-core==0.10.7", "typing_extensions==4.12.2", - "nanobind>=2.4, <3.0", + # https://github.com/wjakob/nanobind/commit/dd350fe81931a1b362196cb415d188c36422766e#diff-8599263e788c107944d356ce118965942735cfbe16289ccf98ee5f8a33f0e808 + # error: static assertion failed due to requirement 'pyobj_name::total_count * sizeof(_object *) == 96' + "nanobind>=2.4, <=2.9.2", "pybind11>=2.10.0, <=2.13.6", ] build-backend = "scikit_build_core.build" diff --git a/scripts/llvm_wasm/pyproject.toml b/scripts/llvm_wasm/pyproject.toml index 7cc4ae58..dea23459 100644 --- a/scripts/llvm_wasm/pyproject.toml +++ b/scripts/llvm_wasm/pyproject.toml @@ -23,7 +23,9 @@ Discussions = "https://discourse.llvm.org/" requires = [ "scikit-build-core==0.10.7", "typing_extensions==4.12.2", - "nanobind>=2.4, <3.0", + # https://github.com/wjakob/nanobind/commit/dd350fe81931a1b362196cb415d188c36422766e#diff-8599263e788c107944d356ce118965942735cfbe16289ccf98ee5f8a33f0e808 + # error: static assertion failed due to requirement 'pyobj_name::total_count * sizeof(_object *) == 96' + "nanobind>=2.4, <=2.9.2", "pybind11>=2.10.0, <=2.13.6", ] build-backend = "scikit_build_core.build" diff --git a/third_party/llvm-project b/third_party/llvm-project index fc92e4de..cdb525d2 160000 --- a/third_party/llvm-project +++ b/third_party/llvm-project @@ -1 +1 @@ -Subproject commit fc92e4dec9a6dfcb4fb77d863d0bf1dbc53033e5 +Subproject commit cdb525d2e420de1348e4f7a6b75ca07664f4ca43