<commit_before>@echo on

mkdir build-cpp
if errorlevel 1 exit 1

cd build-cpp
cmake .. ^
      -GNinja %
      -DCMAKE_BUILD_TYPE=Release %
      -DCMAKE_PREFIX_PATH=%CONDA_PREFIX% %
      -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %
      -DBUILD_TESTING=OFF %
      -DWITH_API_ONLY=OFF %
      -DWITH_ETW=OFF %
      -DWITH_EXAMPLES=OFF %
      -DWITH_OTLP=ON %
      -DWITH_OTLP_GRPC=ON

cmake --build . --config Release --target install
if errorlevel 1 exit 1<commit_msg>Fix bld.bat<commit_after>@echo on

mkdir build-cpp
if errorlevel 1 exit 1

# Release tarballs do not contain the required Protobuf definitions.
robocopy /S /E %CONDA_PREFIX%\share\opentelemetry\opentelemetry-proto\opentelemetry .\third_party\opentelemetry-proto\

cd build-cpp
cmake .. ^
      -GNinja %
      -DCMAKE_BUILD_TYPE=Release %
      -DCMAKE_PREFIX_PATH=%CONDA_PREFIX% %
      -DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% %
      -DBUILD_TESTING=OFF %
      -DWITH_API_ONLY=OFF %
      -DWITH_ETW=OFF %
      -DWITH_EXAMPLES=OFF %
      -DWITH_OTLP=ON %
      -DWITH_OTLP_GRPC=ON

cmake --build . --config Release --target install
if errorlevel 1 exit 1
{'fraction_non_alphanumeric': 0.09991158267020336, 'fraction_numerical': 0.007073386383731211, 'mean_word_length': 2.9305555555555554, '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': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1869355', 'n_tokens_mistral': 438, 'n_tokens_neox': 415, 'n_words': 80}