Set up poudriere to build pkgbase.
This commit is contained in:
@@ -1,2 +1,2 @@
|
||||
# Check that rust-analyzer is valid for date on https://rust-lang.github.io/rustup-components-history/
|
||||
rust_date: "2023-12-04"
|
||||
rust_date: "2024-03-28"
|
||||
|
||||
@@ -1,2 +1,2 @@
|
||||
[target.x86_64-unknown-linux-gnu]
|
||||
rustflags = ["-C", "target-cpu=native"]
|
||||
rustflags = ["-C", "target-cpu=native", "-Zthreads=0"]
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
git:
|
||||
repo: "https://github.com/rust-lang/rust-analyzer.git"
|
||||
dest: /opt/rust-analyzer
|
||||
version: "2023-05-01"
|
||||
version: "2024-04-01"
|
||||
force: true
|
||||
diff: false
|
||||
|
||||
|
||||
@@ -22,6 +22,11 @@
|
||||
args:
|
||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/bin/cargo-clippy"
|
||||
|
||||
- name: Install cranelift
|
||||
command: rustup component add rustc-codegen-cranelift
|
||||
args:
|
||||
creates: "{{ account_homedir.stdout }}/.rustup/toolchains/nightly-{{ rust_date }}-x86_64-unknown-linux-gnu/lib/rustlib/manifest-rustc-codegen-cranelift-preview-x86_64-unknown-linux-gnu"
|
||||
|
||||
- name: Create directories
|
||||
file:
|
||||
name: "{{ account_homedir.stdout }}/{{ item }}"
|
||||
|
||||
Reference in New Issue
Block a user