Skip to content

Commit 5a5f622

Browse files
author
Yucheng Low
committed
Updates to make_egg to disable c++ test for windows.
1 parent 6270c48 commit 5a5f622

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

oss_local_scripts/make_egg.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,9 @@ source ${WORKSPACE}/oss_local_scripts/python_env.sh $build_type
9393
# Windows specific
9494
archive_file_ext="tar.gz"
9595
if [[ $OSTYPE == msys ]]; then
96+
# C++ tests are default skipped on windows due to annoying issues around
97+
# unable to find libstdc++.dll which are not so easily fixable
98+
SKIP_CPP_TEST=1
9699
archive_file_ext="zip"
97100
unset PYTHONHOME
98101
fi
@@ -112,6 +115,8 @@ build_source() {
112115
make -j${NUM_PROCS}
113116

114117
if [[ -z $SKIP_CPP_TEST ]]; then
118+
cd ${WORKSPACE}/oss_test
119+
touch $(find . -name "*.cxx")
115120
cd ${WORKSPACE}/${build_type}/oss_test
116121
make -j${NUM_PROCS}
117122
fi

0 commit comments

Comments
 (0)