Skip to content

Commit

Permalink
Remove solana-lldb patching, it is fixed in llvm-project
Browse files Browse the repository at this point in the history
  • Loading branch information
dmakarov committed Feb 7, 2023
1 parent a8db912 commit faa9e72
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,19 +36,6 @@ if [[ "${HOST_TRIPLE}" == "x86_64-pc-windows-msvc" ]] ; then
sed -i -e 's#enable-projects = \"clang;lld;lldb\"#enable-projects = \"clang;lld\"#g' config.toml
fi
./build.sh
# remove when solana-lldb is fixed in llvm-project
if [[ "${HOST_TRIPLE}" != "x86_64-pc-windows-msvc" ]] ; then
# shellcheck disable=SC2016
sed -i -e 's#lldb=./lldb#here=$(dirname "$0")\nlldb=${here}/lldb#g' src/llvm-project/lldb/scripts/solana/solana-lldb
# shellcheck disable=SC2016
sed -i -e 's#script_import_rust="command script import \\"lldb_lookup.py\\""#script_import_rust="command script import \\"${here}/lldb_lookup.py\\""#g' src/llvm-project/lldb/scripts/solana/solana-lldb
# shellcheck disable=SC2016
sed -i -e 's#script_import_solana="command script import \\"solana_lookup.py\\""#script_import_solana="command script import \\"${here}/solana_lookup.py\\""#g' src/llvm-project/lldb/scripts/solana/solana-lldb
# shellcheck disable=SC2016
sed -i -e 's#commands_file_rust="lldb_commands"#commands_file_rust="${here}/lldb_commands"#g' src/llvm-project/lldb/scripts/solana/solana-lldb
# shellcheck disable=SC2016
sed -i -e 's#commands_file_solana="solana_commands"#commands_file_solana="${here}/solana_commands"#g' src/llvm-project/lldb/scripts/solana/solana-lldb
fi
popd

pushd cargo
Expand Down

0 comments on commit faa9e72

Please sign in to comment.