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:
parent
ebb4058d09
commit
0da4dbf2f2
@ -146,9 +146,9 @@ class ABILayoutInfo:
|
|||||||
|
|
||||||
@memoize
|
@memoize
|
||||||
def get_size_align(self, llty):
|
def get_size_align(self, llty):
|
||||||
lowered = llty._get_ll_pointer_type(self.lldatalayout, self.llcontext)
|
lowered = llty._get_ll_global_value_type(self.lldatalayout, self.llcontext)
|
||||||
return (self.lldatalayout.get_pointee_abi_size(lowered),
|
return (self.lldatalayout.get_abi_size(lowered),
|
||||||
self.lldatalayout.get_pointee_abi_alignment(lowered))
|
self.lldatalayout.get_abi_alignment(lowered))
|
||||||
|
|
||||||
@memoize
|
@memoize
|
||||||
def get_size_align_for_type(self, typ):
|
def get_size_align_for_type(self, typ):
|
||||||
|
@ -149,12 +149,12 @@
|
|||||||
|
|
||||||
llvmlite-new = pkgs.python3Packages.buildPythonPackage rec {
|
llvmlite-new = pkgs.python3Packages.buildPythonPackage rec {
|
||||||
pname = "llvmlite";
|
pname = "llvmlite";
|
||||||
version = "0.43.0";
|
version = "0.44.0";
|
||||||
src = pkgs.fetchFromGitHub {
|
src = pkgs.fetchFromGitHub {
|
||||||
owner = "numba";
|
owner = "numba";
|
||||||
repo = "llvmlite";
|
repo = "llvmlite";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-5QBSRDb28Bui9IOhGofj+c7Rk7J5fNv5nPksEPY/O5o=";
|
sha256 = "sha256-ZIA/JfK9ZP00Zn6SZuPus30Xw10hn3DArHCkzBZAUV0=";
|
||||||
};
|
};
|
||||||
nativeBuildInputs = [pkgs.llvm_15];
|
nativeBuildInputs = [pkgs.llvm_15];
|
||||||
# Disable static linking
|
# Disable static linking
|
||||||
|
Loading…
Reference in New Issue
Block a user