<commit_before>{
  'variables': {
    'target_arch%': '<!(node -e \"var os = require(\'os\'); console.log(os.arch());\")>'
  },
  'targets': [
    {
      'target_name': 'sodium',
      'sources': [
        './src/crypto_box.cc',
        './src/crypto_box_curve25519xsalsa20poly1305.cc',
        './src/sodium_runtime.cc',
        './src/crypto_auth.cc',
        './src/crypto_auth_algos.cc',
        './src/crypto_core.cc',
        './src/crypto_scalarmult_curve25519.cc',
        './src/crypto_scalarmult.cc',
        './src/crypto_sign.cc',
        './src/crypto_secretbox_xsalsa20poly1305.cc',
        './src/crypto_secretbox.cc',
        './src/sodium.cc',
        './src/crypto_stream.cc',
        './src/crypto_streams.cc',
        './src/helpers.cc',
        './src/randombytes.cc',
        './src/crypto_pwhash.cc',
        './src/crypto_hash.cc',
        './src/crypto_hash_sha256.cc',
        './src/crypto_hash_sha512.cc',
        './src/crypto_shorthash.cc',
        './src/crypto_shorthash_siphash24.cc',
        './src/crypto_generichash.cc',
        './src/crypto_generichash_blake2b.cc',
        './src/crypto_onetimeauth.cc',
        './src/crypto_onetimeauth_poly1305.cc'
      ],
      'include_dirs': [
        './src/include',
        './deps/build/include',
        "<!(node -e \"require('nan')\")"
      ],
      'cflags!': [ '-fno-exceptions -fPIC' ],
      "cflags_cc": [ "-fPIC -m32" ],
      "conditions": [
        ['OS=="mac"', {
          "libraries": [
              '../deps/build/lib/libsodium.a'
          ],
          "variables": {
            "osx_min_version": "<!(sw_vers -productVersion | awk -F \'.\' \'{print $1 \".\" $2}\')>"
          },
          "xcode_settings": {
              "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
              "OTHER_CFLAGS": ["-arch x86_64 -O2 -g -flto -mmacosx-version-min=<(osx_min_version) -fPIC"],
              "OTHER_LDFLAGS": ["-arch x86_64 -mmacosx-version-min=<(osx_min_version) -flto"]
          }
        }],
        ['OS=="win"', {
          "libraries": [
              '../deps/build/lib/libsodium.lib'
          ]
        }],
        ['OS=="linux"', {
          "libraries": [
              '../deps/build/lib/libsodium.a'
          ]
        }]
      ]
    }
  ]
}<commit_msg>fix osx_min_version var<commit_after>{
  'variables': {
    'target_arch%': '<!(node -e \"var os = require(\'os\'); console.log(os.arch());\")>'
  },
  'targets': [
    {
      'target_name': 'sodium',
      'sources': [
        './src/crypto_box.cc',
        './src/crypto_box_curve25519xsalsa20poly1305.cc',
        './src/sodium_runtime.cc',
        './src/crypto_auth.cc',
        './src/crypto_auth_algos.cc',
        './src/crypto_core.cc',
        './src/crypto_scalarmult_curve25519.cc',
        './src/crypto_scalarmult.cc',
        './src/crypto_sign.cc',
        './src/crypto_secretbox_xsalsa20poly1305.cc',
        './src/crypto_secretbox.cc',
        './src/sodium.cc',
        './src/crypto_stream.cc',
        './src/crypto_streams.cc',
        './src/helpers.cc',
        './src/randombytes.cc',
        './src/crypto_pwhash.cc',
        './src/crypto_hash.cc',
        './src/crypto_hash_sha256.cc',
        './src/crypto_hash_sha512.cc',
        './src/crypto_shorthash.cc',
        './src/crypto_shorthash_siphash24.cc',
        './src/crypto_generichash.cc',
        './src/crypto_generichash_blake2b.cc',
        './src/crypto_onetimeauth.cc',
        './src/crypto_onetimeauth_poly1305.cc'
      ],
      'include_dirs': [
        './src/include',
        './deps/build/include',
        "<!(node -e \"require('nan')\")"
      ],
      'cflags!': [ '-fno-exceptions -fPIC' ],
      "cflags_cc": [ "-fPIC -m32" ],
      "conditions": [
        ['OS=="mac"', {
          "libraries": [
              '../deps/build/lib/libsodium.a'
          ],
          "variables": {
            "osx_min_version": "<!(sw_vers -productVersion | awk -F \'.\' \'{print $1 \".\" $2}\')"
          },
          "xcode_settings": {
              "MACOSX_DEPLOYMENT_TARGET" : "<(osx_min_version)",
              "GCC_ENABLE_CPP_EXCEPTIONS": "YES",
              "OTHER_CFLAGS": ["-arch x86_64 -O2 -g -flto -mmacosx-version-min=<(osx_min_version) -fPIC"],
              "OTHER_LDFLAGS": ["-arch x86_64 -mmacosx-version-min=<(osx_min_version) -flto"]
          }
        }],
        ['OS=="win"', {
          "libraries": [
              '../deps/build/lib/libsodium.lib'
          ]
        }],
        ['OS=="linux"', {
          "libraries": [
              '../deps/build/lib/libsodium.a'
          ]
        }]
      ]
    }
  ]
}
{'fraction_non_alphanumeric': 0.20417936438833262, 'fraction_numerical': 0.02089682194166304, 'mean_word_length': 1.6965962441314555, 'pattern_counts': {'":': 22, '<': 14, '<?xml version=': 0, '>': 6, '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': '1395178', 'n_tokens_mistral': 1729, 'n_tokens_neox': 1700, 'n_words': 176}