-
Notifications
You must be signed in to change notification settings - Fork 428
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug]: Runtime Install Directory Not Created On Linux aarch64 #25872
Comments
@insertinterestingnamehere : Can you supply the output of |
In addition to the printchplenv output in the build directory, can you also supply the printchplenv ouput from the install directory?
|
Here's the result of using the one in the source tree, generic-izing my home directory out:
Here's the result of using the installed one with the prefix marked.
So the results are slightly different. GMP and RE2 aren't bundled in the installed version and CHPL home is based on the install directory. |
Yeah, I realized this was a bug after I mentioned running those scripts. See #25874. That should not affect the lib directory being missing though. If you run
Thats expected, CHPL_HOME in the installed version should be |
I have been so far unable to reproduce this using rockylinux 8 (the closest to RHEL8 I can get easily) on aarch64. I did this inside a docker container FROM rockylinux/rockylinux:8
RUN dnf upgrade -y && dnf install -y --allowerasing sudo vim which
RUN dnf upgrade -y && \
dnf install -y --allowerasing \
gcc gcc-c++ m4 perl python3 python3-devel bash make gawk git cmake \
which diffutils wget vim sudo \
llvm-devel clang clang-devel
RUN git clone https://github.com/chapel-lang/chapel.git --depth 1 --branch main I then ran the commands from the OP and had no issues. Can you check the whole build log and make sure there are no build errors during |
Thanks for checking! I did check the build log and didn't see anything that looked at all like an error. I'll try debugging this some more locally and see if I can get more info on what's going on. |
Hi @insertinterestingnamehere, per offline conversations I think you have uncovered the root problem of this to be due to a make vs gmake version inconsistency, which I have captured in #25891. I think that means this particular issue is resolved? |
Yep, that issue is an excellent summary. Thank you! |
There are some missing install directories when building and installing on a Linux aarch64 system (RHEL8). This results in the "The runtime has not been built for this configuration." error showing up when trying to call the chapel compiler. I looked into the error a bit and it's trying to find an install directory that's supposed to be there.
Here's the relevant bit of the build script I'm using:
When I run this on a similarly configured x86_64 machine the directory
$PREFIX/lib/chapel/2.2/runtime/lib/linux64
gets created whereas on an aarch64 it does not. Only$PREFIX/lib/chapel/2.2/runtime/lib/compiler
is created in that case. The "The runtime has not been built for this configuration." error shows up because the compiler tries to find a lengthy subdirectory of this that doesn't actually exist.The text was updated successfully, but these errors were encountered: