Skip to content

Commit 6e1c614

Browse files
committed
build: cmake: Ignore UnifySDK LFS
This prevent the following error: ``` 34.68 Downloading docker/uic-resources/linux/slc_cli_linux.zip (208 MB) 34.82 Error downloading object: docker/uic-resources/linux/slc_cli_linux.zip (4163ec1): Smudge error: Error downloading docker/uic-resources/linux/slc_cli_linux.zip (4163ec1a48e63dbde26a7e589a1af569f82d9cbbe11fd71742ff0ae2f726e292): batch response: This repository exceeded its LFS budget. The account responsible for the budget should increase it to restore access. ``` Origin: SiliconLabsSoftware#83 Relate-to: SiliconLabsSoftware/z-wave-engine-application-layer#11 Relate-to: UIC-3077 Signed-off-by: Philippe Coval <[email protected]>
1 parent 43966a6 commit 6e1c614

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmake/modules/FindUnifySDK.cmake

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,15 @@ file(GLOB UNIFYSDK_PATCHES
3434
${PROJECT_SOURCE_DIR}/patches/UnifySDK/*.patch
3535
)
3636

37+
set(ENV{GIT_LFS_SKIP_SMUDGE} "1")
3738
find_package(Git)
3839
FetchContent_Declare(
3940
UnifySDK
4041
GIT_REPOSITORY ${UNIFYSDK_GIT_REPOSITORY}
4142
GIT_TAG ${UNIFYSDK_GIT_TAG}
4243
GIT_SUBMODULES_RECURSE True
4344
GIT_SHALLOW 1
45+
GIT_PROGRESS True
4446

4547
# Prevent "fatal: unable to auto-detect email address"
4648
GIT_CONFIG [email protected]

0 commit comments

Comments
 (0)