<commit_before>#!/bin/bash

CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$PREFIX"

if [[ "$OSTYPE" == "linux-gnu" ]]; then
    # setting the rpath so that libOpenMMPME.so finds the right libfftw3
    CMAKE_FLAGS+=" -DCMAKE_INSTALL_RPATH=.."
    CMAKE_FLAGS+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
    CMAKE_FLAGS+=" -DOPENCL_INCLUDE_DIR=/usr/local/cuda-6.0/include"
    CMAKE_FLAGS+=" -DOPENCL_LIBRARY=/usr/local/cuda-6.0/lib64/libOpenCL.so"
    #CMAKE_FLAGS+=" -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so"

elif [[ "$OSTYPE" == "darwin"* ]]; then
    export MACOSX_DEPLOYMENT_TARGET="10.9"
    CMAKE_FLAGS+=" -DOSX_DEPLOYMENT_TARGET=10.9" # builds are on OS X 10.9
    CMAKE_FLAGS+=" -DOSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" # builds are on OS X 10.9
    CMAKE_FLAGS+=" -DOSX_ARCHITECTURES:STRING=x86_64" # CUDA 6.5 no longer supports 32-bit
    CMAKE_FLAGS+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" # use clang compilers<commit_msg>Tried forcing linker into 64-bit only.<commit_after>#!/bin/bash

CMAKE_FLAGS="-DCMAKE_INSTALL_PREFIX=$PREFIX"

if [[ "$OSTYPE" == "linux-gnu" ]]; then
    # setting the rpath so that libOpenMMPME.so finds the right libfftw3
    CMAKE_FLAGS+=" -DCMAKE_INSTALL_RPATH=.."
    CMAKE_FLAGS+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++"
    CMAKE_FLAGS+=" -DOPENCL_INCLUDE_DIR=/usr/local/cuda-6.0/include"
    CMAKE_FLAGS+=" -DOPENCL_LIBRARY=/usr/local/cuda-6.0/lib64/libOpenCL.so"
    #CMAKE_FLAGS+=" -DOPENCL_LIBRARY=/opt/AMDAPP/lib/x86_64/libOpenCL.so"

elif [[ "$OSTYPE" == "darwin"* ]]; then
    export MACOSX_DEPLOYMENT_TARGET="10.9"
    CMAKE_FLAGS+=" -DOSX_DEPLOYMENT_TARGET=10.9" # builds are on OS X 10.9
    CMAKE_FLAGS+=" -DOSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk" # builds are on OS X 10.9
    CMAKE_FLAGS+=" -DOSX_ARCHITECTURES:STRING=x86_64" # CUDA 6.5 no longer supports 32-bit
    CMAKE_FLAGS+=' -DSHARED_LINKER_FLAGS="-arch x86_64"' # CUDA 6.5 no longer supports 32-bit
    CMAKE_FLAGS+=" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++" # use clang compilers
{'fraction_non_alphanumeric': 0.1453884597910041, 'fraction_numerical': 0.03543843707405725, 'mean_word_length': 4.794736842105263, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1016793', 'n_tokens_mistral': 1023, 'n_tokens_neox': 897, 'n_words': 139}