2
0
mirror of https://github.com/m-labs/artiq.git synced 2025-01-23 17:08:12 +08:00

Update to llvmlite v0.44 as in MSYS2 packages

Signed-off-by: Egor Savkin <es@m-labs.hk>
This commit is contained in:
Egor Savkin 2025-01-20 13:00:35 +08:00 committed by Sébastien Bourdeauducq
parent ebb4058d09
commit 0da4dbf2f2
2 changed files with 5 additions and 5 deletions

View File

@ -146,9 +146,9 @@ class ABILayoutInfo:
@memoize
def get_size_align(self, llty):
lowered = llty._get_ll_pointer_type(self.lldatalayout, self.llcontext)
return (self.lldatalayout.get_pointee_abi_size(lowered),
self.lldatalayout.get_pointee_abi_alignment(lowered))
lowered = llty._get_ll_global_value_type(self.lldatalayout, self.llcontext)
return (self.lldatalayout.get_abi_size(lowered),
self.lldatalayout.get_abi_alignment(lowered))
@memoize
def get_size_align_for_type(self, typ):

View File

@ -149,12 +149,12 @@
llvmlite-new = pkgs.python3Packages.buildPythonPackage rec {
pname = "llvmlite";
version = "0.43.0";
version = "0.44.0";
src = pkgs.fetchFromGitHub {
owner = "numba";
repo = "llvmlite";
rev = "v${version}";
sha256 = "sha256-5QBSRDb28Bui9IOhGofj+c7Rk7J5fNv5nPksEPY/O5o=";
sha256 = "sha256-ZIA/JfK9ZP00Zn6SZuPus30Xw10hn3DArHCkzBZAUV0=";
};
nativeBuildInputs = [pkgs.llvm_15];
# Disable static linking