Browse Source

Update FaF llvm version to fix build (#7701)

* add faf framework

* add faf framework

* clean up code and slight reorg

* add HTTP methods and cleanup

* converted to a library format, updated docker to point to a tag, generally simplified

* simplified README.md

* fix pipelining issue

* fix release settings in Cargo.toml

* fix release settings in Cargo.toml

* faf: updated clang and made a few performance tweaks to the project

* updated FaF to match full '/plaintext' path

* performance tweak, dockerfile

* performance tweak, dockerfile

* quick test

* test, again

* update FaF to llvm-15

Co-authored-by: James Bates <[email protected]>
James Bates 2 năm trước cách đây
mục cha
commit
1462d65c1c
2 tập tin đã thay đổi với 3 bổ sung18 xóa
  1. 0 15
      frameworks/Rust/faf/Cargo.lock
  2. 3 3
      frameworks/Rust/faf/faf.dockerfile

+ 0 - 15
frameworks/Rust/faf/Cargo.lock

@@ -1,15 +0,0 @@
-# This file is automatically @generated by Cargo.
-# It is not intended for manual editing.
-version = 3
-
-[[package]]
-name = "faf"
-version = "0.5.0"
-source = "git+https://github.com/errantmind/faf.git#aae75a54637bcf0e225e1078693d5110e444f7d5"
-
-[[package]]
-name = "faf-ex"
-version = "0.2.0"
-dependencies = [
- "faf",
-]

+ 3 - 3
frameworks/Rust/faf/faf.dockerfile

@@ -2,11 +2,11 @@ FROM errantmind/debian-faf:v3
 
 COPY ./Cargo.toml ./Cargo.toml
 COPY ./src ./src
-ENV CC=/usr/bin/clang-13
-ENV CXX=/usr/bin/clang++-13
+ENV CC=/usr/bin/clang-15
+ENV CXX=/usr/bin/clang++-15
 RUN /root/.cargo/bin/cargo update
 RUN RUSTFLAGS="-Ctarget-cpu=native -Ztune-cpu=native -Zmutable-noalias=yes -Clink-arg=-fexperimental-new-pass-manager \
-   -Clinker=/usr/bin/clang-13 -Clink-arg=-fuse-ld=/usr/bin/ld.lld-13 -Clink-arg=-flto=thin -Clto=thin -Copt-level=3 \
+   -Clinker=/usr/bin/clang-15 -Clink-arg=-fuse-ld=/usr/bin/ld.lld-15 -Clink-arg=-flto=thin -Clto=thin -Copt-level=3 \
    -Ccodegen-units=1 -Cpanic=abort -Cembed-bitcode=yes -Cforce-frame-pointers=n -Cdebug-assertions=no -Coverflow-checks=no \
    -Ccontrol-flow-guard=no -Clink-dead-code=no -Zno-parallel-llvm" \
    /root/.cargo/bin/cargo build --release --target x86_64-unknown-linux-gnu -Zbuild-std=panic_abort,core,std,alloc,proc_macro,compiler_builtins \