Skip to content

Commit ddc3872

Browse files
committed
Update deps.
1 parent 46667c6 commit ddc3872

File tree

6 files changed

+6
-57
lines changed

6 files changed

+6
-57
lines changed

.gitmodules

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,8 @@
1-
[submodule "llvm"]
2-
path = llvm
3-
url = https://github.com/riscv-rust/llvm
4-
branch = rust-llvm-release-6-0-0-riscv
5-
[submodule "rust"]
6-
path = rust
7-
url = https://github.com/riscv-rust/rust
8-
branch = riscv-rust-master
91
[submodule "binutils"]
102
path = riscv-binutils-gdb
11-
url = https://github.com/riscv-rust/riscv-binutils-gdb
3+
url = https://github.com/riscv/riscv-binutils-gdb
124
branch = riscv-binutils-2.29
135
[submodule "openocd"]
146
path = riscv-openocd
15-
url = https://github.com/riscv-rust/openocd
16-
branch = gnu-mcu-eclipse-dev
7+
url = https://github.com/riscv/riscv-openocd
8+
branch = riscv

Makefile

Lines changed: 1 addition & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -12,51 +12,10 @@ all: toolchain
1212
clean:
1313
$(RM) -r build toolchain
1414

15-
toolchain: llvm openocd binutils rust xargo
15+
toolchain: openocd binutils
1616
@echo All Tools Installed
1717

1818

19-
# LLVM
20-
llvm_src := $(root_dir)/llvm
21-
llvm_build := $(build_dir)/llvm
22-
llvm_dest := $(sysroot_dir)
23-
24-
llvm-configure: $(llvm_src)
25-
mkdir -p $(llvm_build)
26-
cd $(llvm_build); \
27-
cmake $(llvm_src) -G "Ninja" \
28-
$(if $(ccache),-DCMAKE_C_COMPILER_LAUNCHER="$(ccache)") \
29-
$(if $(ccache),-DCMAKE_CXX_COMPILER_LAUNCHER="$(ccache)") \
30-
-DCMAKE_INSTALL_PREFIX=$(llvm_dest) \
31-
-DCMAKE_BUILD_TYPE="Debug" \
32-
-DLLVM_USE_SPLIT_DWARF=True \
33-
-DLLVM_OPTIMIZED_TABLEGEN=True \
34-
-DLLVM_BUILD_TESTS=True \
35-
-DLLVM_BUILD_LLVM_DYLIB=ON \
36-
-DLLVM_LINK_LLVM_DYLIB=ON \
37-
-DLLVM_ENABLE_ASSERTIONS=ON \
38-
-DLLVM_INSTALL_UTILS=ON \
39-
-DLLVM_TARGETS_TO_BUILD="X86" \
40-
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD="RISCV"
41-
$(llvm_build): llvm-configure
42-
43-
llvm-build: $(llvm_build)
44-
cmake --build $(llvm_build) -- $(makeflags)
45-
$(llvm_build)/bin/llc: llvm-build
46-
47-
llvm-install: $(llvm_build)/bin/llc
48-
cmake --build $(llvm_build) --target install
49-
$(llvm_dest)/bin/llc: llvm-install
50-
51-
llvm-check: $(llvm_build)/bin/llc
52-
cmake --build $(llvm_build) --target check-all
53-
54-
lld-check: $(llvm_build)/bin/llc
55-
cmake --build $(llvm_build) --target check-lld
56-
57-
llvm: $(llvm_dest)/bin/llc
58-
59-
6019
# RUST + CARGO
6120
rust_src := $(root_dir)/rust
6221
rust_dest := $(sysroot_dir)

llvm

Lines changed: 0 additions & 1 deletion
This file was deleted.

riscv-binutils-gdb

riscv-openocd

rust

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)