Skip to content

Commit

Permalink
feat(cubesql): Use lld linker for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
ovr committed Jul 15, 2024
1 parent 90de8a3 commit 675f6fa
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 3 deletions.
7 changes: 7 additions & 0 deletions packages/cubejs-backend-native/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Please keep in sync this file with rust/cubesql!

[target."x86_64-unknown-linux-gnu"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[target."aarch64-unknown-linux-gnu"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]
3 changes: 1 addition & 2 deletions packages/cubejs-backend-native/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,4 @@ target
index.node
**/node_modules
**/.DS_Store
npm-debug.log*
.cargo
npm-debug.log
11 changes: 11 additions & 0 deletions rust/cubesql/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Please keep in sync this file with packages/cubejs-backend-native!

[target."x86_64-unknown-linux-gnu"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

[target."aarch64-unknown-linux-gnu"]
rustflags = ["-C", "link-arg=-fuse-ld=lld"]

# If you are going to use local fork, feel free to uncomment
#paths = ["../../../sqlparser-rs", "../../../arrow-datafusion/datafusion"]
#paths = ["../../../arrow-datafusion/datafusion"]
1 change: 0 additions & 1 deletion rust/cubesql/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
/cubesql/target
/.idea
upstream
.cargo/config.toml
dist
node_modules
.vscode
Expand Down

0 comments on commit 675f6fa

Please sign in to comment.