From efada0e656e535609ef0a9a915d05286b8ef4e10 Mon Sep 17 00:00:00 2001 From: Anhad Singh Date: Mon, 10 Feb 2025 23:19:54 +1100 Subject: [PATCH] feat(llvm18-shared) Signed-off-by: Anhad Singh --- recipes/dev/llvm18-shared/native.cmake | 2 + recipes/dev/llvm18-shared/recipe.toml | 87 ++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 recipes/dev/llvm18-shared/native.cmake create mode 100644 recipes/dev/llvm18-shared/recipe.toml diff --git a/recipes/dev/llvm18-shared/native.cmake b/recipes/dev/llvm18-shared/native.cmake new file mode 100644 index 00000000..4b0abbfa --- /dev/null +++ b/recipes/dev/llvm18-shared/native.cmake @@ -0,0 +1,2 @@ +set(CMAKE_C_COMPILER cc) +set(CMAKE_CXX_COMPILER c++) diff --git a/recipes/dev/llvm18-shared/recipe.toml b/recipes/dev/llvm18-shared/recipe.toml new file mode 100644 index 00000000..93b57c99 --- /dev/null +++ b/recipes/dev/llvm18-shared/recipe.toml @@ -0,0 +1,87 @@ +[source] +git = "https://gitlab.redox-os.org/redox-os/llvm-project.git" +upstream = "https://github.com/rust-lang/llvm-project.git" +branch = "redox-2024-05-11" + +[build] +template = "custom" +dependencies = [ + "zlib" +] +script = """ +DYNAMIC_INIT + +cat > CMakeToolchain-x86_64.cmake <