Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
43 lines
1.1 KiB
Diff
43 lines
1.1 KiB
Diff
From 15dc4c64531845b64b574647fc7218170b100533 Mon Sep 17 00:00:00 2001
|
|
From: Morgan Helton <mhelton@gmail.com>
|
|
Date: Tue, 25 Feb 2025 20:36:19 -0600
|
|
Subject: [PATCH] feat: use pre-fetched par2-turbo
|
|
|
|
---
|
|
cmake/par2-turbo.cmake | 19 +++++++------------
|
|
1 file changed, 7 insertions(+), 12 deletions(-)
|
|
|
|
diff --git a/cmake/par2-turbo.cmake b/cmake/par2-turbo.cmake
|
|
index 0062b4d3..c0dd56ea 100644
|
|
--- a/cmake/par2-turbo.cmake
|
|
+++ b/cmake/par2-turbo.cmake
|
|
@@ -48,18 +48,13 @@ if(CMAKE_SYSROOT)
|
|
)
|
|
endif()
|
|
|
|
-ExternalProject_add(
|
|
- par2-turbo
|
|
- PREFIX par2-turbo
|
|
- GIT_REPOSITORY https://github.com/nzbgetcom/par2cmdline-turbo.git
|
|
- GIT_TAG v1.3.0-20250808
|
|
- TLS_VERIFY TRUE
|
|
- GIT_SHALLOW TRUE
|
|
- GIT_PROGRESS TRUE
|
|
- DOWNLOAD_EXTRACT_TIMESTAMP TRUE
|
|
- BUILD_BYPRODUCTS ${PAR2_LIBS}
|
|
- CMAKE_ARGS ${CMAKE_ARGS}
|
|
- INSTALL_COMMAND ""
|
|
+ExternalProject_Add(
|
|
+ par2-turbo
|
|
+ PREFIX par2-turbo
|
|
+ SOURCE_DIR ${CMAKE_BINARY_DIR}/par2-turbo/src/par2-turbo
|
|
+ BUILD_BYPRODUCTS ${PAR2_LIBS}
|
|
+ CMAKE_ARGS ${CMAKE_ARGS}
|
|
+ INSTALL_COMMAND ""
|
|
)
|
|
|
|
set(LIBS ${LIBS} ${PAR2_LIBS})
|
|
--
|
|
2.50.1
|
|
|