File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -61,10 +61,14 @@ stages:
6161 imageName : ' ubuntu-16.04'
6262 ORG_GRADLE_PROJECT_TILEDB_S3 : " ON"
6363 ORG_GRADLE_PROJECT_TILEDB_SERIALIZATION : " ON"
64+ CFLAGS : " -march=haswell"
65+ CPPFLAGS : " -march=haswell"
6466 macOS :
6567 imageName : ' macOS-10.14'
6668 ORG_GRADLE_PROJECT_TILEDB_S3 : " ON"
6769 ORG_GRADLE_PROJECT_TILEDB_SERIALIZATION : " ON"
70+ CFLAGS : " -march=haswell"
71+ CPPFLAGS : " -march=haswell"
6872 pool :
6973 vmImage : $(imageName)
7074 steps :
@@ -75,6 +79,7 @@ stages:
7579 windows_19 :
7680 imageName : ' windows-2019'
7781 ORG_GRADLE_PROJECT_TILEDB_S3 : " ON"
82+ CL : " /arch:AVX2"
7883 pool :
7984 vmImage : $(imageName)
8085 steps :
Original file line number Diff line number Diff line change 1414
1515 if [[ ( "$AGENT_OS" == "Linux" ) ]]; then
1616 docker build -f ci/Dockerfile2010 . -t lib_builder_2010
17- docker run -v $(pwd):/TileDB-Java -t lib_builder_2010 /TileDB-Java/ci/build.sh
17+ docker run -e "CFLAGS=$CFLAGS" -e "CPPFLAGS=$CPPFLAGS" - v $(pwd):/TileDB-Java -t lib_builder_2010 /TileDB-Java/ci/build.sh
1818 cp ./build/tiledb_jni/*.so ./build/install/lib/*.so ./build/install/lib64/*.so $BUILD_BINARIESDIRECTORY
1919 fi
2020
Original file line number Diff line number Diff line change 11steps :
22
33 - bash : |
4- ls
5- cp *.dll $BUILD_BINARIESDIRECTORY
64 ./gradlew.bat assemble
75 cp ./build/tiledb_jni/Release/*.dll ./build/install/bin/*.dll $BUILD_BINARIESDIRECTORY
86
You can’t perform that action at this time.
0 commit comments