<commit_before>
# Copyright (c) 2011 <NAME> <<EMAIL>>

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
  set(LINUX TRUE)
endif(CMAKE_SYSTEM_NAME MATCHES "Linux")

# CUDA
option(EQUALIZER_USE_CUDA "Test for CUDA support" ON)
if(EQUALIZER_USE_CUDA)
  find_package(CUDA)
  if(APPLE)
    set(CUDA_64_BIT_DEVICE_CODE OFF) 
  endif()
endif()
if(CUDA_FOUND)
  include_directories(SYSTEM ${CUDA_INCLUDE_DIRS})
  set(CUDA_PROPAGATE_HOST_FLAGS OFF)
  set(EQ_FEATURES "${EQ_FEATURES} CUDA")
endif(CUDA_FOUND)

# OpenSceneGraph
option(EQUALIZER_USE_OSG "Test for OpenSceneGraph support" ON)
if(EQUALIZER_USE_OSG)
  find_package(OpenSceneGraph 2.9.8 COMPONENTS osgDB osgUtil)
  if(OSG_LIBRARY MATCHES "OSG_LIBRARY-NOTFOUND")
    set(OSG_FOUND 0)
  endif()
  if("${OPENSCENEGRAPH_VERSION}" VERSION_LESS "2.9.8")
    set(OSG_FOUND 0)
  endif()
endif()<commit_msg>Untested X11 GPU discovery code: - refactor static GLXPipe::getGPUInfo - Try and query X Servers 0..n with screen 0..m - Fix CMake/GLX/CUDA on Mac<commit_after>
# Copyright (c) 2011 <NAME> <<EMAIL>>

if(CMAKE_SYSTEM_NAME MATCHES "Linux")
  set(LINUX TRUE)
endif(CMAKE_SYSTEM_NAME MATCHES "Linux")

# CUDA
option(EQUALIZER_USE_CUDA "Test for CUDA support" ON)
if(EQUALIZER_USE_CUDA)
  find_package(CUDA)
  if(APPLE)
    set(CUDA_64_BIT_DEVICE_CODE OFF) 
  endif()
endif()
if(CUDA_FOUND)
  include_directories(SYSTEM ${CUDA_INCLUDE_DIRS})
  set(CUDA_PROPAGATE_HOST_FLAGS OFF)
endif(CUDA_FOUND)

# OpenSceneGraph
option(EQUALIZER_USE_OSG "Test for OpenSceneGraph support" ON)
if(EQUALIZER_USE_OSG)
  find_package(OpenSceneGraph 2.9.8 COMPONENTS osgDB osgUtil)
  if(OSG_LIBRARY MATCHES "OSG_LIBRARY-NOTFOUND")
    set(OSG_FOUND 0)
  endif()
  if("${OPENSCENEGRAPH_VERSION}" VERSION_LESS "2.9.8")
    set(OSG_FOUND 0)
  endif()
endif()
{'fraction_non_alphanumeric': 0.10916289592760181, 'fraction_numerical': 0.01809954751131222, 'mean_word_length': 6.133064516129032, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, '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': '6837391', 'n_tokens_mistral': 795, 'n_tokens_neox': 730, 'n_words': 142}