Skip to content

Commit

Permalink
Removing FormatVallidation for FreeBSD, it isn't really needed for bu…
Browse files Browse the repository at this point in the history
…ilding anyway. Also, if it validates on one platform, then it should be just fine for all platforms.
  • Loading branch information
LadySerenaKitty committed Feb 2, 2024
1 parent 204008a commit 7ff24a7
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 67 deletions.
2 changes: 0 additions & 2 deletions BuildTools/CMake/BuildUtils.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -397,8 +397,6 @@ function(add_format_validation_target MODULE_NAME MODULE_ROOT_PATH IDE_FOLDER)
set(RUN_VALIDATION_SCRIPT validate_format_win.bat)
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(RUN_VALIDATION_SCRIPT ./validate_format_linux.sh)
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "FreeBSD")
set(RUN_VALIDATION_SCRIPT ./validate_format_freebsd.sh)
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
set(RUN_VALIDATION_SCRIPT ./validate_format_mac.sh)
endif()
Expand Down
2 changes: 0 additions & 2 deletions BuildTools/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@ elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Linux")
set(CLANG_FORMAT_EXECUTABLE "${CMAKE_CURRENT_SOURCE_DIR}/FormatValidation/clang-format_linux_10.0.0" CACHE INTERNAL "clang-format executable path")
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "Darwin")
set(CLANG_FORMAT_EXECUTABLE "${CMAKE_CURRENT_SOURCE_DIR}/FormatValidation/clang-format_mac_10.0.0" CACHE INTERNAL "clang-format executable path")
elseif(CMAKE_HOST_SYSTEM_NAME STREQUAL "FreeBSD")
set(CLANG_FORMAT_EXECUTABLE "/usr/local/llvm10/bin/clang-format" CACHE INTERNAL "clang-format executable path")
endif()

if (NOT EXISTS ${CLANG_FORMAT_EXECUTABLE})
Expand Down
11 changes: 0 additions & 11 deletions BuildTools/FormatValidation/validate_format_freebsd.sh

This file was deleted.

This file was deleted.

0 comments on commit 7ff24a7

Please sign in to comment.