Граф коммитов

44 Коммитов

Автор SHA1 Сообщение Дата
Stephan T. Lavavej f51e945cfc
Toolset update: VS 2022 17.6 Preview 1 (#3490) 2023-02-22 17:14:59 -08:00
Stephan T. Lavavej 9a894a462c
Toolset update: VS 2022 17.5 Preview 3 (#3351) 2023-01-21 21:40:40 -08:00
Stephan T. Lavavej 67d89ce691
Toolset update: VS 2022 17.5 Preview 2 (#3288) 2022-12-15 13:34:36 -08:00
Rose e07c062887
Update google-benchmark to 1.7.0 (#3151)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
2022-10-24 14:49:36 -07:00
Casey Carter 65aab97a8e
This mirrors the `src/vctools/crt/github` changes from Andrew Dean's internal MSVC-PR-425243. (#3133)
Note that that PR must target `prod/be`, so this will result in temporary divergence between microsoft/STL's GitHub repo and the internal `prod/fe` branch (which we usually keep binary-identical at all times). I believe that this is tolerable because the `stl/msbuild` files change so rarely, and even if we do need to make changes (e.g. adding a new source file), there should be no major conflicts.
2022-09-30 09:33:25 -07:00
Stephan T. Lavavej b127e689ca
Toolset update: VS 2022 17.4 Preview 2 (#3104) 2022-09-15 13:49:19 -07:00
nicole mazzuca 088818bf44
[benchmark] add gbenchmark (#2780)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2022-06-30 19:14:34 -07:00
nicole mazzuca bda3b9aa61
fix analyze in CI (#2812)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-06-25 15:21:09 -07:00
Stephan T. Lavavej 183a1e22c4
Toolset update: VS 2022 17.3 Preview 2, CUDA 11.6.0 (#2791)
Co-authored-by: Casey Carter <Casey@Carter.net>
2022-06-15 17:50:30 -07:00
Charlie Barto fc9232d807
Add an alias object to the import lib (#2734)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-05-23 18:36:43 -07:00
Stephan T. Lavavej dae60920e9
CMakeLists.txt: Check the Windows SDK version (#2729) 2022-05-23 17:57:01 -07:00
Stephan T. Lavavej a12e73c1f7
Toolset update: VS 2022 17.3 Preview 1 (#2714) 2022-05-12 13:36:47 -07:00
nicole mazzuca e86c643597
[CMakeLists.txt] add more information to the `/Os` transition comment (#2708)
Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-05-05 02:53:26 -07:00
nicole mazzuca 8999b68330
[validate] add `validate` cmake target (#2697)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
2022-05-05 02:40:19 -07:00
nicole mazzuca d849a95217
add format target to cmake (#2671)
Co-authored-by: nicole mazzuca <mazzucan@outlook.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2022-05-01 03:26:06 -07:00
Stephan T. Lavavej fa02b10776
Toolset update: VS 2022 17.2 Preview 3 (#2651) 2022-04-15 17:27:15 -07:00
Stephan T. Lavavej 067e8ea081
Toolset update: VS 2022 17.1 Preview 5, CMake 3.22, sparse index (#2514) 2022-02-11 17:49:26 -08:00
Stephan T. Lavavej 636a69d192
Toolset update: VS 2022 17.0 Preview 4 (#2204) 2021-09-24 19:55:59 -07:00
Michael Herwig 78ff4618d4
remove vcpkg in favor of boostorg/math standalone (#2151)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
2021-08-26 21:38:38 -07:00
Stephan T. Lavavej 7adf490256
Update vcpkg and require Boost 1.76.0 (#2081) 2021-07-29 21:10:05 -07:00
Stephan T. Lavavej aa5145c8be
Build the STL with /ZH:SHA_256. (#1829) 2021-06-03 09:36:37 -07:00
Stephan T. Lavavej 65eb507777
Toolset update: VS 2019 16.10 Preview 2 (#1884) 2021-04-30 18:19:31 -07:00
Stephan T. Lavavej ba4711881e
Toolset update: VS 2019 16.10 Preview 1 (#1711) 2021-03-04 14:27:48 -08:00
Stephan T. Lavavej b1fbbdc4c3
Toolset update: VS 2019 16.9 Preview 3 (#1577) 2021-01-21 17:11:58 -08:00
Stephan T. Lavavej 58160d548f Toolset update: VS 2019 16.9 Preview 2 with Clang 11
* Fix #1471 by properly waiting for the Windows Driver Kit installation to finish.
* Update `azure-pipelines.yml` to use the new pool `StlBuild-2020-12-08`.
* Update `README.md` to mention Preview 2. (Its CMake and Ninja versions haven't changed,
  and we don't directly mention the Clang version.)
* Update `yvals_core.h` to require Clang 11. (Note that MSVC's `_MSC_VER` is remaining `1928` for the 16.9 release.)
* Remove the workaround for LLVM-37556. (We were treating it as an uncommented perma-workaround, but I remembered.)
* Remove many workarounds in `P1502R1_standard_library_header_units`.
* Remove the VSO-1225825 workaround in `<iterator>` and `<ranges>`.
* Unrelated cleanup in `<valarray>`: `__cpp_aligned_new` implies `if constexpr`.
* Update the vcpkg submodule for Boost 1.74.0. This is just their latest commit.
* In `CMakeLists.txt`, require Boost 1.74.0. (This, combined with the toolset update,
  implies that contributors will need to `git submodule update`, clean out the `vcpkg`
  submodule with `git clean -x -d -f`, and then bootstrap vcpkg and build boost-math.)
* Simplify conditional operators in `seed_seq::generate`.
  + Thanks to @AlexGuteniev for suggesting extracting `_Off` and noticing
    that `_Myvec[(_Kx - 1) % _Sx]` was unnecessarily complicated. Given `_Kx` in `[1, _Sx]`,
    then `_Kx - 1` is in `[0, _Sx - 1]`, so `% _Sx` does nothing.
* Take advantage of clang-format 11. This sets `AlignOperands: AlignAfterOperator` and `IndentCaseBlocks: true`.
2020-12-10 09:27:45 -08:00
Stephan T. Lavavej ea156e730c
VS 2019 16.9 Preview 1 toolset update (#1451) 2020-11-13 13:29:26 -08:00
Hamid Reza Arzaghi 0c368b167c
CMakeLists.txt: Remove unnecessary /d2Zi+ option (#1218)
Fixes #1198.
2020-08-26 01:10:41 -07:00
Billy O'Neal 5bf2826707
Turn on /analyze (for PR/CI builds) and fix resulting warnings (#1009)
Co-authored-by: Stephan T. Lavavej <stl@microsoft.com>
Co-authored-by: Curtis Jacques Bezault <curtbezault@gmail.com>
2020-08-25 23:43:27 -07:00
Stephan T. Lavavej d83bc99312
Upgrade toolset to VS 2019 16.8 Preview 1 (#1153)
Fixes #1051.
2020-08-09 14:56:45 -07:00
Billy O'Neal b57b7685ff
Change CMakeLists.txt to default to our submodule'd vcpkg copy. (#1124) 2020-08-03 13:34:37 -07:00
Alex Guteniev e4b75dcd44
Implement std::atomic::wait (#593)
Co-authored-by: Curtis J Bezault <curtbezault@gmail.com>
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Billy Robert O'Neal III <bion@microsoft.com>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-08-01 17:54:07 -07:00
Curtis J Bezault 28024b4a86
Remove dependency on LLVM-Lit and fixup libcxx's lit.site.cfg to deal with upstream changes. (#710) 2020-04-14 08:10:37 -07:00
Charlie Barto ad389e3836 use build_testing option to toggle tests (#666)
Previously we were using ENABLE_TESTS to toggle testing on or off. I suppose this is a little more true to what it does than BUILD_TESTING, but BUILD_TESTING is the "standard" cmake option used for this kind of stuff by many projects.

Additionally we never added ENABLE_TESTS to the cache so it didn't show up in programs like cmake-gui, so I added it to the cache with a default value of "OFF" using the option() cmake command.

Co-authored-by: Charles <barto.charlie+code@gmail.com>
2020-04-02 13:23:34 -07:00
Sumit Bhardwaj e1d9d8b303
Changing VCLIBS_SUFFIX to be a cache CMake variable (#649) 2020-04-01 11:41:55 -07:00
Curtis J Bezault a1a45cc178
Add testing instructions to the README (#647)
Co-authored-by: Stephan T. Lavavej <stl@nuwen.net>
Co-authored-by: Casey Carter <cartec69@gmail.com>
2020-03-31 14:05:46 -07:00
Billy O'Neal ff83542af4
Update to Clang 10 and Visual Studio 2019 version 16.6p2 (#645)
* Update to Clang 10 and Visual Studio 2019 version 16.6p2

* re-clang-formats the tree to comply with new clang 10 clang-format
* updates our agents to F series VMs which are faster and cheaper for our build workloads
* defaults scale set to 0 VMs and lets the Azure Pipelines service control all resizing
* fix tests to pass with the new compilers

Co-authored by Casey Carter and Curtis Bezault
2020-03-28 18:53:15 -07:00
Curtis J Bezault 20f21b2248
Add tests using lit as a test harness (#520) 2020-03-25 13:56:03 -07:00
Alex Guteniev 5f6b155001
Fix #608 : CMakeLists.txt: /O2 is not working (#610)
`VCLIBS_RELEASE_FLAGS` should be `VCLIBS_RELEASE_OPTIONS`.
2020-03-16 15:15:59 -07:00
Curtis J Bezault 798a31a871
Add /Zl to avoid adding defaultlibs during compilation (#516) 2020-02-24 10:25:22 -08:00
Stephan T. Lavavej b72c0a609f
Activate FrameHandler4 to fix #118. (#154)
This affects the x64 build. Before this change, msvcp140.dll
was 601,600 bytes. After this change, it's 540,672 bytes.

This ports a Microsoft-internal PR:
https://devdiv.visualstudio.com/DevDiv/_git/msvc/pullrequest/204636
2019-10-02 15:17:25 -07:00
Billy O'Neal ee1ede2c62
Remove VCPKG_TARGET_TRIPLET enforcement. (#101)
Resolves #97.

We used to detect target platform by inspection of VCPKG_TARGET_TRIPLET, but that is no longer necessary. As a result, this enforcement can be removed.
2019-09-17 12:32:55 -06:00
Billy O'Neal ace0f6a53f
Remove need for user to specify triplet, and enable ARM and ARM64 build (#80)
* Remove the need to specify the target architecture by testing CMAKE_CXX_COMPILER_ARCHITECTURE_ID.

This is somewhat fragile because it's documented as an internal-to-cmake variable, but FindBoost.cmake has used it 'effectively forever' so I'm not too concerned.

* Make ARM and ARM64 work, and use CMAKE_CXX_STANDARD_LIBRARIES for kernel32.lib.
2019-09-06 19:23:11 -07:00
Billy O'Neal cd5aeb7e65
Apply useful CMake changes from the subninja attempt that work on their own (#5)
* Affirmatively set _HAS_OLD_IOSTREAMS_MEMBERS=1 to make intellisense in "Open Folder" happy.

* Use add_library(STATIC) and STATIC_LIBRARY_OPTIONS for implib smashing instead of add_custom_command et al.

* Include headers in some of the generated targets so they show up in "open folder" et al.

* Extract the target architecture from VCPKG_TARGET_TRIPLET.

* Add .vs and out/ to .gitignore as VS's open folder creates these.

* Don't link an exe in try_compile.

* Add CMakeSettings.json to make VS happy.
2019-09-05 12:29:04 -07:00
Stephan T. Lavavej 219514876e Initial commit. 2019-09-04 15:57:56 -07:00