Skip to content

Commit

Permalink
fix lldb can't load embedded.interpreter problem
Browse files Browse the repository at this point in the history
  • Loading branch information
lum1n0us committed Nov 20, 2024
1 parent fe988c1 commit f2842ed
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ RUN git pull \
ARG WASI_SDK_VER=24
RUN wget -c --progress=dot:giga https://github.com/WebAssembly/wasi-sdk/releases/download/wasi-sdk-${WASI_SDK_VER}/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -P /opt \
&& tar xf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz -C /opt \
&& ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0 /opt/wasi-sdk \
&& ln -sf /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux /opt/wasi-sdk \
&& rm /opt/wasi-sdk-${WASI_SDK_VER}.0-x86_64-linux.tar.gz

#
Expand Down Expand Up @@ -168,6 +168,9 @@ ENV PATH="/opt/codeql:${PATH}"

# set path
ENV PATH="/home/vscode/.opam/default/bin:/opt/bazelisk:/usr/lib/llvm-${LLVM_VER}/bin:${PATH}"

ENV PYTHONPATH="/usr/lib/llvm-14/lib/python3.10/dist-packages/"

# clean
RUN apt-get autoremove -y \
&& apt-get clean -y \
Expand Down
8 changes: 7 additions & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,16 @@
"ms-python.debugpy",
"ms-python.python",
"ms-python.black-formatter",
"ms-python.vscode-pylance",
"ms-toolsai.jupyter",
"ms-toolsai.jupyter-keymap",
"ms-toolsai.jupyter-renderers",
"ms-toolsai.vscode-jupyter-cell-tags",
"ms-toolsai.vscode-jupyter-slideshow",
"ms-vscode.cpptools",
"streetsidesoftware.code-spell-checker",
"vadimcn.vscode-lldb",
"ms-vscode.cpptools-extension-pack"
]
}
},
Expand All @@ -51,4 +57,4 @@
"mounts": [
"source=/mnt/workspace/SDF,target=/SDF,type=bind"
]
}
}

0 comments on commit f2842ed

Please sign in to comment.