<commit_before>SET ARCH=32
IF [%1] == [64] (
	SET ARCH=64
)
IF [%1] == [32] (
	SET ARCH=32
)

call build-common.bat

Set ARCHIVE=boost_1_58_0.tar.bz2
Set BUILD_DIR=%TMP_DIR%/boost_1_58_0

Set PREFIX=%DEP_DIR%/boost/
Set DEBUG_FLAG="variant=debug"
Set RELEASE_FLAG="variant=release"

Set BUILD_TYPE=%RELEASE_FLAG%

echo "Compile Boost"

call build-common.bat downloadAndUnpack %ARCHIVE% %BUILD_DIR%

cd %DEP_DIR%

call download-dependency.bat boost_1_58_patch_post.zip

cd %TMP_DIR%

winrar.exe x boost_1_58_patch_post.zip

if not exist %BUILD_DIR% exit /b
cd %BUILD_DIR%

echo "Bootstrapping Boost"

if not exist bootstrap.bat exit /b

call bootstrap.bat

if not exist b2.exe exit /b

IF [%ARCH%] == [64] (
	echo using python : 2.7 : %PYTHON_PATH_x64% ; >> user-config.jam
)
IF [%ARCH%] == [32] (
	echo using python : 2.7 : %PYTHON_PATH_x86% ; >> user-config.jam
)

b2 --user-config=user-config.jam toolset=msvc address-model=%ARCH% --with-atomic --with-date_time --with-filesystem --with-log --with-python --with-regex --with-serialization --with-system --with-thread link=shared threading=multi --layout=system variant=release install --prefix=%PREFIX% stage > D:\out

echo "Cleaning up"
cd %DEP_DIR%
RD /S /Q "%BUILD_DIR%"
xcopy /S /Y "%TMP_DIR%\boost_post" "%PREFIX%\include\boost\config"

RD /S /Q "%TMP_DIR%"<commit_msg>ISIXE-1562 fixed pipe in build-boost.bat<commit_after>SET ARCH=32
IF [%1] == [64] (
	SET ARCH=64
)
IF [%1] == [32] (
	SET ARCH=32
)

call build-common.bat

Set ARCHIVE=boost_1_58_0.tar.bz2
Set BUILD_DIR=%TMP_DIR%/boost_1_58_0

Set PREFIX=%DEP_DIR%/boost/
Set DEBUG_FLAG="variant=debug"
Set RELEASE_FLAG="variant=release"

Set BUILD_TYPE=%RELEASE_FLAG%

echo "Compile Boost"

call build-common.bat downloadAndUnpack %ARCHIVE% %BUILD_DIR%

cd %DEP_DIR%

call download-dependency.bat boost_1_58_patch_post.zip

cd %TMP_DIR%

winrar.exe x boost_1_58_patch_post.zip

if not exist %BUILD_DIR% exit /b
cd %BUILD_DIR%

echo "Bootstrapping Boost"

if not exist bootstrap.bat exit /b

call bootstrap.bat

if not exist b2.exe exit /b

IF [%ARCH%] == [64] (
	echo using python : 2.7 : %PYTHON_PATH_x64% ; >> user-config.jam
)
IF [%ARCH%] == [32] (
	echo using python : 2.7 : %PYTHON_PATH_x86% ; >> user-config.jam
)

b2 --user-config=user-config.jam toolset=msvc address-model=%ARCH% --with-atomic --with-date_time --with-filesystem --with-log --with-python --with-regex --with-serialization --with-system --with-thread link=shared threading=multi --layout=system variant=release install --prefix=%PREFIX% stage > NUL

echo "Cleaning up"
cd %DEP_DIR%
RD /S /Q "%BUILD_DIR%"
xcopy /S /Y "%TMP_DIR%\boost_post" "%PREFIX%\include\boost\config"

RD /S /Q "%TMP_DIR%"
{'fraction_non_alphanumeric': 0.14985052316890882, 'fraction_numerical': 0.032137518684603884, 'mean_word_length': 4.430020283975659, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 13, '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': '3716681', 'n_tokens_mistral': 1127, 'n_tokens_neox': 1060, 'n_words': 255}