aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/main/native/build_windows_jni.sh
Commit message (Collapse)AuthorAge
* Make Bazel work with Visual Studio 2017 Gravatar Yun Peng2017-02-14
| | | | | | | | | | | | | | | Now Bazel can detect MSVC from Visual Studio 2017 or Visual C++ build tools 2017. Also modified build_windows_jni.sh to make it work with VS 2017. Fixed: https://github.com/bazelbuild/bazel/issues/2440 -- Change-Id: I4afbce809ff74634f32fab87efe5e7f0b3f60c95 Reviewed-on: https://cr.bazel.build/8890 PiperOrigin-RevId: 147467993 MOS_MIGRATED_REVID=147467993
* Add quotes to improve space supportGravatar Alexander Chung2017-02-07
| | | | | | | | | | | These changes addresses issues where Windows users have a space in their username. Allows the default output_base path to be used. Closes #2491. -- Reviewed-on: https://github.com/bazelbuild/bazel/pull/2491 PiperOrigin-RevId: 146773331 MOS_MIGRATED_REVID=146773331
* Windows JNI: check and fix the PATHGravatar Laszlo Csomor2017-02-01
| | | | | | | | | | | Also introduce a fail() method and clean up the script a little bit. Fixes https://github.com/bazelbuild/bazel/issues/2464 -- PiperOrigin-RevId: 146225020 MOS_MIGRATED_REVID=146225020
* Windows, JNI: build the DLL with /O2 optimizationGravatar Laszlo Csomor2016-12-14
| | | | | | -- PiperOrigin-RevId: 141939490 MOS_MIGRATED_REVID=141939490
* Enable exception handing for built-in windows headersGravatar Peter Foley2016-10-07
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | INFO: From Executing genrule //src/main/native:windows_jni: C:\tools\msys64\tmp\bazel_7uQBlyR9\out\execroot\bazel>call "C:/Program Files (x86)/Microsoft Visual Studio 14.0/VC/VCVARSALL.BAT" amd64 windows_error_handling.cc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(359): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc windows_file_operations.cc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\exception(359): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc windows_processes.cc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\xlocale(341): warning C4530: C++ exception handler used, but unwind semantics are not enabled. Specify /EHsc C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\INCLUDE\iosfwd(343): warning C4577: 'noexcept' used with no exception handling mode specified; termination on exception is not guaranteed. Specify /EHsc -- Change-Id: I6f93a4dbb1be42fa5bea221402fb71a830960cf6 Reviewed-on: https://bazel-review.googlesource.com/#/c/6130 MOS_MIGRATED_REVID=135458066
* Make cc_configure on Windows more robustGravatar Yun Peng2016-09-28
| | | | | | | | | | | | | 1. Throw an error if Bash-on-Windows is found instead of MSYS bash 2. Introduce BAZEL_VS environment variable 3. Output more information Fix https://github.com/bazelbuild/bazel/issues/1847 -- Change-Id: Ic4571c6c792d9b81df4cd800b8f19d121cc44c33 Reviewed-on: https://bazel-review.googlesource.com/#/c/6330 MOS_MIGRATED_REVID=134531295
* Windows, JNI: extract error reporting to a file.Gravatar Laszlo Csomor2016-08-31
| | | | | | | | | | | | | This change creates a separate file for GetLastErrorString and updates the BUILD file and windows_jni.dll builder script. A subsequent change will add a new source for file operations implemented in C++, so the BUILD file updates in this change are necessary preparations for that. -- MOS_MIGRATED_REVID=131804375
* Bazel shell scripts: fix links in licence comments.Gravatar Laszlo Csomor2016-08-24
| | | | | | | I suspect they were overwritten by an eager sed "s,//,#,g" command. -- MOS_MIGRATED_REVID=131159373
* Do not be satisfied with a JRE when looking for JNI headers.Gravatar Lukacs Berki2016-06-29
| | | | | -- MOS_MIGRATED_REVID=126076585
* Add build_windows_jni.sh to the repository.Gravatar Lukacs Berki2016-06-27
-- MOS_MIGRATED_REVID=125972319