Original Message:
Sent: Wed September 27, 2023 05:27 PM
From: Mi Wang
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi Ranjit,
I am trying to use package llvm-installer (v1.3.10) to install the llvm. The package calls another package called sys-detection==1.3.0, which should return a value for AIX. I hope that adding some elif branch for AIX in the llvm-installer will then get the installation of llvm done for our AIX servers. The issue now is the llvm-installer package also calls another package called downloadutil (v1.0.4) and I got the following error when trying to install it. Can you please help?
Thanks
Mi
writing manifest file '/tmp/pip-modern-metadata-u7iur3ws/downloadutil.egg-info/SOURCES.txt'
reading manifest file '/tmp/pip-modern-metadata-u7iur3ws/downloadutil.egg-info/SOURCES.txt'
adding license file 'LICENSE'
writing manifest file '/tmp/pip-modern-metadata-u7iur3ws/downloadutil.egg-info/SOURCES.txt'
creating '/tmp/pip-modern-metadata-u7iur3ws/downloadutil-1.0.4.dist-info'
error: invalid command 'bdist_wheel'
[end of output]
------------------------------
Mi Wang
Original Message:
Sent: Thu September 21, 2023 09:53 AM
From: Ranjit Ranjan
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi Wang
This package will require some work to make it work on AIX and it is not in our priority list.
We would suggest you to work and try to compile it on AIX and if you have any specific issue please discuss here.
Thanks
Ranjit
------------------------------
Ranjit Ranjan
Original Message:
Sent: Tue September 19, 2023 11:23 AM
From: Mi Wang
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi Ranjit,
I am wondering if IBM can somehow work out a solution to resolve the issue, e.g.: create an llvm-config for AIX platform?
Thanks
Mi
------------------------------
Mi Wang
Original Message:
Sent: Fri September 15, 2023 08:39 AM
From: Ranjit Ranjan
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi,
I tried once .Temporary fixing above error, further I see below error.
File "/llvmlite/ffi/build.py", line 135, in main_posix
raise RuntimeError(msg) from None
RuntimeError: Could not find a `llvm-config` binary. There are a number of reasons this could occur, please see: https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip for help.
error: command '/opt/freeware/bin/python3.9' failed with exit code 1
So, to compile llvmlite , we need llvm-config.
Below excert are from https://llvmlite.readthedocs.io/en/latest/admin-guide/install.html#using-pip :
- If you are on an unsupported architecture (i.e. not x86*) or unsupported Python version for binary wheels (e.g. Python alphas) then pip will try and build Numba from sdist which in turn will try and build llvmlitefrom sdist. This will inevitably fail as the llvmlite source distribution needs an appropriate LLVM installation to build.
------------------------------
Ranjit Ranjan
Original Message:
Sent: Thu September 14, 2023 09:05 AM
From: Mi Wang
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hello Ranjan,
I am wondering if you are working on the steps for changing the code?
Thanks
Mi
------------------------------
Mi Wang
Original Message:
Sent: Mon September 11, 2023 10:22 AM
From: Ranjit Ranjan
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi,
On second thought, I looked into the code https://github.com/numba/llvmlite/blob/main/ffi/build.py.
AIX OS is not handled, So we need to make some changes in code to make it work.
Thanks
------------------------------
Ranjit Ranjan
Original Message:
Sent: Mon September 11, 2023 09:59 AM
From: Mi Wang
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
Hi Ayappan / SANGAMESH,
Can you please provide some detailed / practicable steps for dealing with this? I am not familiar with the llvmlite package. I just need to install shap package as per our business users' requirement, which has the pre-requisite of installing llvmlite package."
Thanks
Mi
------------------------------
Mi Wang
Original Message:
Sent: Fri September 01, 2023 04:27 AM
From: C- -T
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
this is all open source, so feel free to edit build.py and add some logic for aix.
https://github.com/numba/llvmlite/blob/main/ffi/build.py#L213
------------------------------
I regret starting this entire conversation
Original Message:
Sent: Thu August 31, 2023 11:51 AM
From: Bruce Turgeon
Subject: Install of shade package [llvmlite package] -> llvmlite package AIX platfrom error?
I am trying to install shad package, which requires llvmlite package. But it seems currently this llvmlite package is not for AIX platform? (see below error message). Is there any workaround?
" File "/tmp/pip-install-ynzxlm4x/llvmlite/ffi/build.py", line 222, in main
raise RuntimeError("unsupported platform: %r" % (sys.platform,))
RuntimeError: unsupported platform: 'aix6'
error: command '/opt/freeware/bin/python3' failed with exit status 1 "
------------------------------
Bruce Turgeon
------------------------------