<commit_before>####################
##  SWIG (WIN32)  ##
####################
if(WIN32 AND (BUILD_PYTHON OR BUILD_JAVA OR BUILD_DOTNET))
  message(STATUS "Getting SWIG: ...")
  configure_file(
    ${CMAKE_CURRENT_SOURCE_DIR}/SWIG.CMakeLists.txt.in
    ${CMAKE_CURRENT_BINARY_DIR}/SWIG/CMakeLists.txt @ONLY)

  execute_process(
    COMMAND ${CMAKE_COMMAND} -H. -Bproject_build -G "${CMAKE_GENERATOR}"
    RESULT_VARIABLE result
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SWIG)
  if(result)
    message(FATAL_ERROR "CMake step for SWIG failed: ${result}")
  endif()

  execute_process(
    COMMAND ${CMAKE_COMMAND} --build project_build --config ${CMAKE_BUILD_TYPE}
    RESULT_VARIABLE result
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SWIG)
  if(result)
    message(FATAL_ERROR "Build step for SWIG failed: ${result}")
  endif()
  message(STATUS "Getting SWIG: ...DONE")

  set(SWIG_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/SWIG/source/swig.exe
    CACHE INTERNAL "swig.exe location" FORCE)
endif()

############
##  ZLIB  ##
############
if(BUILD_ZLIB)
  build_git_dependency(
    NAME
      ZLIB
    REPOSITORY
      "https://github.com/madler/ZLIB.git"
    TAG
      "v1.2.11"
    APPLY_PATCH
      "${CMAKE_CURRENT_SOURCE_DIR}/../../patches/ZLIB.patch"
 )
endif()

##################
##  ABSEIL-CPP  ##
##################
if(BUILD_absl)
  build_git_dependency(
    NAME
      abseil-cpp
    REPOSITORY
      "https://github.com/abseil/abseil-cpp.git"
    TAG
      "8ba96a8"
 )
endif()

##############
##  GFLAGS  ##
##############
if(BUILD_gflags)
  build_git_dependency(
    NAME
      gflags
    REPOSITORY
      "https://github.com/gflags/gflags.git"
    TAG
      "v2.2.2"
    CMAKE_ARGS
      -DINSTALL_SHARED_LIBS:BOOL=OFF
      -DBUILD_STATIC_LIBS:BOOL=ON
      -DINSTALL_STATIC_LIBS:BOOL=ON
  )
endif()

############
##  GLOG  ##
############
if(BUILD_glog)
  build_git_dependency(
    NAME
      glog
    REPOSITORY
      "https://github.com/google/glog.git"
    TAG
      "v0.4.0"
    CMAKE_ARGS
      -DWITH_GFLAGS:BOOL=OFF
  )
endif()

################
##  Protobuf  ##
################
if(BUILD_Protobuf)
  build_git_dependency(
    NAME
      Protobuf
    REPOSITORY
      "https://github.com/protocolbuffers/protobuf.git"
    TAG
      "v3.11.2"
    CMAKE_ARGS
      -Dprotobuf_MSVC_STATIC_RUNTIME:BOOL=OFF
      -Dprotobuf_BUILD_TESTS:BOOL=OFF
      "SOURCE_SUBDIR cmake"
  )
endif()

#################
##  Coinutils  ##
#################
if(BUILD_CoinUtils)
  build_git_dependency(
    NAME
      CoinUtils
    REPOSITORY
      "https://github.com/Mizux/CoinUtils.git"
    TAG
      "stable/2.11"
  )
endif()

###########
##  Osi  ##
###########
if(BUILD_Osi)
  build_git_dependency(
    NAME
      Osi
    REPOSITORY
      "https://github.com/Mizux/Osi.git"
    TAG
      "stable/0.108"
  )
endif()

###########
##  Clp  ##
###########
if(BUILD_Clp)
  build_git_dependency(
    NAME
      Clp
    REPOSITORY
      "https://github.com/Mizux/Clp.git"
    TAG
      "stable/1.17"
  )
endif()

###########
##  Cgl  ##
###########
if(BUILD_Cgl)
  build_git_dependency(
    NAME
      Cgl
    REPOSITORY
      "https://github.com/Mizux/Cgl.git"
    TAG
      "stable/0.60"
  )
endif()

###########
##  Cbc  ##
###########
if(BUILD_Cbc)
  build_git_dependency(
    NAME
      Cbc
    REPOSITORY
      "https://github.com/Mizux/Cbc.git"
    TAG
      "stable/2.10"
  )
endif()
<commit_msg>CMake: revert Clp 1.17.5 -> 1.17.4<commit_after>####################
##  SWIG (WIN32)  ##
####################
if(WIN32 AND (BUILD_PYTHON OR BUILD_JAVA OR BUILD_DOTNET))
  message(STATUS "Getting SWIG: ...")
  configure_file(
    ${CMAKE_CURRENT_SOURCE_DIR}/SWIG.CMakeLists.txt.in
    ${CMAKE_CURRENT_BINARY_DIR}/SWIG/CMakeLists.txt @ONLY)

  execute_process(
    COMMAND ${CMAKE_COMMAND} -H. -Bproject_build -G "${CMAKE_GENERATOR}"
    RESULT_VARIABLE result
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SWIG)
  if(result)
    message(FATAL_ERROR "CMake step for SWIG failed: ${result}")
  endif()

  execute_process(
    COMMAND ${CMAKE_COMMAND} --build project_build --config ${CMAKE_BUILD_TYPE}
    RESULT_VARIABLE result
    WORKING_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/SWIG)
  if(result)
    message(FATAL_ERROR "Build step for SWIG failed: ${result}")
  endif()
  message(STATUS "Getting SWIG: ...DONE")

  set(SWIG_EXECUTABLE ${CMAKE_CURRENT_BINARY_DIR}/SWIG/source/swig.exe
    CACHE INTERNAL "swig.exe location" FORCE)
endif()

############
##  ZLIB  ##
############
if(BUILD_ZLIB)
  build_git_dependency(
    NAME
      ZLIB
    REPOSITORY
      "https://github.com/madler/ZLIB.git"
    TAG
      "v1.2.11"
    APPLY_PATCH
      "${CMAKE_CURRENT_SOURCE_DIR}/../../patches/ZLIB.patch"
 )
endif()

##################
##  ABSEIL-CPP  ##
##################
if(BUILD_absl)
  build_git_dependency(
    NAME
      abseil-cpp
    REPOSITORY
      "https://github.com/abseil/abseil-cpp.git"
    TAG
      "8ba96a8"
 )
endif()

##############
##  GFLAGS  ##
##############
if(BUILD_gflags)
  build_git_dependency(
    NAME
      gflags
    REPOSITORY
      "https://github.com/gflags/gflags.git"
    TAG
      "v2.2.2"
    CMAKE_ARGS
      -DINSTALL_SHARED_LIBS:BOOL=OFF
      -DBUILD_STATIC_LIBS:BOOL=ON
      -DINSTALL_STATIC_LIBS:BOOL=ON
  )
endif()

############
##  GLOG  ##
############
if(BUILD_glog)
  build_git_dependency(
    NAME
      glog
    REPOSITORY
      "https://github.com/google/glog.git"
    TAG
      "v0.4.0"
    CMAKE_ARGS
      -DWITH_GFLAGS:BOOL=OFF
  )
endif()

################
##  Protobuf  ##
################
if(BUILD_Protobuf)
  build_git_dependency(
    NAME
      Protobuf
    REPOSITORY
      "https://github.com/protocolbuffers/protobuf.git"
    TAG
      "v3.11.2"
    CMAKE_ARGS
      -Dprotobuf_MSVC_STATIC_RUNTIME:BOOL=OFF
      -Dprotobuf_BUILD_TESTS:BOOL=OFF
      "SOURCE_SUBDIR cmake"
  )
endif()

#################
##  Coinutils  ##
#################
if(BUILD_CoinUtils)
  build_git_dependency(
    NAME
      CoinUtils
    REPOSITORY
      "https://github.com/Mizux/CoinUtils.git"
    TAG
      "stable/2.11"
  )
endif()

###########
##  Osi  ##
###########
if(BUILD_Osi)
  build_git_dependency(
    NAME
      Osi
    REPOSITORY
      "https://github.com/Mizux/Osi.git"
    TAG
      "stable/0.108"
  )
endif()

###########
##  Clp  ##
###########
if(BUILD_Clp)
  build_git_dependency(
    NAME
      Clp
    REPOSITORY
      "https://github.com/Mizux/Clp.git"
    TAG
      "stable/1.17.4"
  )
endif()

###########
##  Cgl  ##
###########
if(BUILD_Cgl)
  build_git_dependency(
    NAME
      Cgl
    REPOSITORY
      "https://github.com/Mizux/Cgl.git"
    TAG
      "stable/0.60"
  )
endif()

###########
##  Cbc  ##
###########
if(BUILD_Cbc)
  build_git_dependency(
    NAME
      Cbc
    REPOSITORY
      "https://github.com/Mizux/Cbc.git"
    TAG
      "stable/2.10"
  )
endif()

{'fraction_non_alphanumeric': 0.20195534802276374, 'fraction_numerical': 0.012403327010068584, 'mean_word_length': 2.952710495963091, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 4, 'https://': 20, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4718166', 'n_tokens_mistral': 2792, 'n_tokens_neox': 2646, 'n_words': 368}