aboutsummaryrefslogtreecommitdiff
path: root/thirdparty/BLAKE3/tools
diff options
context:
space:
mode:
authorStefan Boberg <[email protected]>2022-09-20 17:28:41 +0200
committerGitHub <[email protected]>2022-09-20 17:28:41 +0200
commita735967c7c54fcecbfd9760286afc06a3b48233a (patch)
tree4789717b7a05c7122cb366d3bcf5810db9678058 /thirdparty/BLAKE3/tools
parentrename URI chunk requests from value -> chunk (#166) (diff)
downloadzen-a735967c7c54fcecbfd9760286afc06a3b48233a.tar.xz
zen-a735967c7c54fcecbfd9760286afc06a3b48233a.zip
Use BLAKE3 port from vcpkg (#141)
use BLAKE3 port from vcpkg instead of in-tree binaries
Diffstat (limited to 'thirdparty/BLAKE3/tools')
-rw-r--r--thirdparty/BLAKE3/tools/compiler_version/Cargo.toml7
-rw-r--r--thirdparty/BLAKE3/tools/compiler_version/build.rs6
-rw-r--r--thirdparty/BLAKE3/tools/compiler_version/src/main.rs27
-rw-r--r--thirdparty/BLAKE3/tools/instruction_set_support/Cargo.toml6
-rw-r--r--thirdparty/BLAKE3/tools/instruction_set_support/src/main.rs10
5 files changed, 0 insertions, 56 deletions
diff --git a/thirdparty/BLAKE3/tools/compiler_version/Cargo.toml b/thirdparty/BLAKE3/tools/compiler_version/Cargo.toml
deleted file mode 100644
index 1046cf29d..000000000
--- a/thirdparty/BLAKE3/tools/compiler_version/Cargo.toml
+++ /dev/null
@@ -1,7 +0,0 @@
-[package]
-name = "compiler_version"
-version = "0.0.0"
-edition = "2018"
-
-[build-dependencies]
-cc = "1.0.50"
diff --git a/thirdparty/BLAKE3/tools/compiler_version/build.rs b/thirdparty/BLAKE3/tools/compiler_version/build.rs
deleted file mode 100644
index 3e14ebe67..000000000
--- a/thirdparty/BLAKE3/tools/compiler_version/build.rs
+++ /dev/null
@@ -1,6 +0,0 @@
-fn main() {
- let build = cc::Build::new();
- let compiler = build.get_compiler();
- let compiler_path = compiler.path().to_string_lossy();
- println!("cargo:rustc-env=COMPILER_PATH={}", compiler_path);
-}
diff --git a/thirdparty/BLAKE3/tools/compiler_version/src/main.rs b/thirdparty/BLAKE3/tools/compiler_version/src/main.rs
deleted file mode 100644
index 767cb31bd..000000000
--- a/thirdparty/BLAKE3/tools/compiler_version/src/main.rs
+++ /dev/null
@@ -1,27 +0,0 @@
-use std::process::Command;
-
-fn main() {
- // Print the rustc version.
- Command::new(env!("CARGO"))
- .args(&["rustc", "--quiet", "--", "--version"])
- .status()
- .unwrap();
- println!();
-
- // Print the Cargo version.
- Command::new(env!("CARGO"))
- .args(&["--version"])
- .status()
- .unwrap();
- println!();
-
- // Print the C compiler version. This relies on C compiler detection done
- // in build.rs, which sets the COMPILER_PATH variable.
- let compiler_path = env!("COMPILER_PATH");
- let mut compiler_command = Command::new(compiler_path);
- // Use the --version flag on everything other than MSVC.
- if !cfg!(target_env = "msvc") {
- compiler_command.arg("--version");
- }
- let _ = compiler_command.status().unwrap();
-}
diff --git a/thirdparty/BLAKE3/tools/instruction_set_support/Cargo.toml b/thirdparty/BLAKE3/tools/instruction_set_support/Cargo.toml
deleted file mode 100644
index 9e30174a9..000000000
--- a/thirdparty/BLAKE3/tools/instruction_set_support/Cargo.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[package]
-name = "instruction_set_support"
-version = "0.0.0"
-edition = "2018"
-
-[dependencies]
diff --git a/thirdparty/BLAKE3/tools/instruction_set_support/src/main.rs b/thirdparty/BLAKE3/tools/instruction_set_support/src/main.rs
deleted file mode 100644
index 6b509b053..000000000
--- a/thirdparty/BLAKE3/tools/instruction_set_support/src/main.rs
+++ /dev/null
@@ -1,10 +0,0 @@
-fn main() {
- #[cfg(any(target_arch = "x86", target_arch = "x86_64"))]
- {
- dbg!(is_x86_feature_detected!("sse2"));
- dbg!(is_x86_feature_detected!("sse4.1"));
- dbg!(is_x86_feature_detected!("avx2"));
- dbg!(is_x86_feature_detected!("avx512f"));
- dbg!(is_x86_feature_detected!("avx512vl"));
- }
-}