llvm and lld are not accessible via svn #1162

Open
opened 2024-12-23 17:17:37 +00:00 by tirbal · 0 comments
Contributor

Hi, I just found out that llvm and lld are no longer accessible via svn. I've made changes to the wasm-deps.sh file to get those packages through Github(see below) but I don't know if I'm using the right releases or if I'm missing something else, but the thing is that I can't build the docker image. I get error: linker lld not found

    ....
    ....
    mkdir -p /scratch/src
    cd /scratch/src
    wget https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/llvm-9.0.1.src.tar.xz
    tar -xf llvm* --no-same-owner
    rm *.xz
    mv llvm* ./llvm

    cd /scratch/src/llvm/tools
    wget https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/lld-9.0.1.src.tar.xz
    tar -xf lld* --no-same-owner
    rm *.xz
    mv lld* ./lld
    ....
    ....

I know it's not the right solution, but I finally managed to do it by installing llvm and lld directly using apt. Do you see any problem with that? What other solution could be given?
I also needed to make a symbolic link for python to work in the Dockerfile

RUN ln -s /usr/bin/python3 /usr/bin/python & \
    ln -s /usr/bin/pip3 /usr/bin/pip

Thank you very much!

  • Plume 7.2
  • Docker under Raspbian
Hi, I just found out that `llvm` and `lld` are no longer accessible via `svn`. I've made changes to the `wasm-deps.sh` file to get those packages through Github(see below) but I don't know if I'm using the right releases or if I'm missing something else, but the thing is that I can't build the docker image. I get error: **linker lld not found** ``` .... .... mkdir -p /scratch/src cd /scratch/src wget https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/llvm-9.0.1.src.tar.xz tar -xf llvm* --no-same-owner rm *.xz mv llvm* ./llvm cd /scratch/src/llvm/tools wget https://github.com/llvm/llvm-project/releases/download/llvmorg-9.0.1/lld-9.0.1.src.tar.xz tar -xf lld* --no-same-owner rm *.xz mv lld* ./lld .... .... ``` I know it's not the right solution, but I finally managed to do it by installing `llvm` and `lld` directly using `apt`. Do you see any problem with that? What other solution could be given? I also needed to make a symbolic link for python to work in the `Dockerfile` ``` RUN ln -s /usr/bin/python3 /usr/bin/python & \ ln -s /usr/bin/pip3 /usr/bin/pip ``` Thank you very much! - Plume 7.2 - Docker under Raspbian
tirbal added the
C: Bug
label 2024-12-23 17:17:37 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: Plume/Plume#1162
No description provided.