-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
remove vcpkg in favor of boostorg/math standalone (#2151)
Co-authored-by: Stephan T. Lavavej <[email protected]>
- Loading branch information
1 parent
967479d
commit 78ff461
Showing
15 changed files
with
25 additions
and
94 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ __pycache__/ | |
/build/ | ||
/out/ | ||
/tools/out/ | ||
/CMakeLists.txt.user |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,9 @@ | ||
# Copyright (c) Microsoft Corporation. | ||
# SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | ||
|
||
[submodule "vcpkg"] | ||
path = vcpkg | ||
url = https://github.com/microsoft/vcpkg.git | ||
fetchRecurseSubmodules = false | ||
[submodule "llvm-project"] | ||
path = llvm-project | ||
url = https://github.com/llvm/llvm-project.git | ||
[submodule "boost-math"] | ||
path = boost-math | ||
url = https://github.com/boostorg/math.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -140,9 +140,6 @@ Just try to follow these rules, so we can spend more time fixing bugs and implem | |
|
||
# How To Build With The Visual Studio IDE | ||
|
||
The STL uses boost-math headers to provide P0226R1 Mathematical Special Functions. We recommend using [vcpkg][] to | ||
acquire this dependency. | ||
|
||
1. Install Visual Studio 2022 17.0 Preview 3 or later. | ||
* We recommend selecting "C++ CMake tools for Windows" in the VS Installer. | ||
This will ensure that you're using supported versions of CMake and Ninja. | ||
|
@@ -152,10 +149,8 @@ acquire this dependency. | |
2. Open Visual Studio, and choose the "Clone or check out code" option. Enter the URL of this repository, | ||
`https://github.com/microsoft/STL`. | ||
3. Open a terminal in the IDE with `` Ctrl + ` `` (by default) or press on "View" in the top bar, and then "Terminal". | ||
4. In the terminal, invoke `git submodule update --init --progress llvm-project vcpkg` | ||
5. In the terminal, invoke `.\vcpkg\bootstrap-vcpkg.bat` | ||
6. In the terminal, invoke `.\vcpkg\vcpkg.exe install boost-math:x86-windows boost-math:x64-windows` | ||
7. Choose the architecture you wish to build in the IDE, and build as you would any other project. All necessary CMake | ||
4. In the terminal, invoke `git submodule update --init --progress llvm-project boost-math` | ||
5. Choose the architecture you wish to build in the IDE, and build as you would any other project. All necessary CMake | ||
settings are set by `CMakeSettings.json`. | ||
|
||
# How To Build With A Native Tools Command Prompt | ||
|
@@ -169,9 +164,6 @@ acquire this dependency. | |
2. Open a command prompt. | ||
3. Change directories to a location where you'd like a clone of this STL repository. | ||
4. `git clone https://github.com/microsoft/STL --recurse-submodules` | ||
5. `cd STL` | ||
6. `.\vcpkg\bootstrap-vcpkg.bat` | ||
7. `.\vcpkg\vcpkg.exe install boost-math:x86-windows boost-math:x64-windows` | ||
|
||
To build the x86 target: | ||
|
||
|
@@ -476,5 +468,4 @@ SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception | |
[lit result codes]: https://llvm.org/docs/CommandGuide/lit.html#test-status-results | ||
[[email protected]]: mailto:[email protected] | ||
[redistributables]: https://support.microsoft.com/en-us/help/2977003/the-latest-supported-visual-c-downloads | ||
[vcpkg]: https://github.com/microsoft/vcpkg | ||
[natvis documentation]: https://docs.microsoft.com/en-us/visualstudio/debugger/create-custom-views-of-native-objects |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule boost-math
added at
88c4b8
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule vcpkg
deleted from
125735