aboutsummaryrefslogtreecommitdiff
path: root/toolsrc/src/vcpkg.cpp
diff options
context:
space:
mode:
authorAndrei Lebedev <lebdron@gmail.com>2021-01-22 19:37:26 +0100
committerGitHub <noreply@github.com>2021-01-22 10:37:26 -0800
commit83b8e27b95e0117a80fe5e2e4749ecaede098fa0 (patch)
tree20bf19eea3665ccefe712d2c3592a4626d1a8843 /toolsrc/src/vcpkg.cpp
parent34a9432e2ba94bb4aa9bbbeb2a92aa3c0b1717a0 (diff)
downloadvcpkg-83b8e27b95e0117a80fe5e2e4749ecaede098fa0.tar.gz
vcpkg-83b8e27b95e0117a80fe5e2e4749ecaede098fa0.zip
[vcpkg,boost-modular-build-helper] initial ppc64le community support (#15572)
* [vcpkg] initial ppc64le community support Signed-off-by: Andrei Lebedev <lebdron@gmail.com> * [boost-modular-build-helper] ppc64le support Signed-off-by: Andrei Lebedev <lebdron@gmail.com> * Merge from master Co-authored-by: PhoebeHui <20694052+PhoebeHui@users.noreply.github.com> Co-authored-by: dan-shaw <51385773+dan-shaw@users.noreply.github.com> Co-authored-by: Nicole Mazzuca <mazzucan@outlook.com>
Diffstat (limited to 'toolsrc/src/vcpkg.cpp')
-rw-r--r--toolsrc/src/vcpkg.cpp7
1 files changed, 5 insertions, 2 deletions
diff --git a/toolsrc/src/vcpkg.cpp b/toolsrc/src/vcpkg.cpp
index 250bca52a..ccc951f10 100644
--- a/toolsrc/src/vcpkg.cpp
+++ b/toolsrc/src/vcpkg.cpp
@@ -210,13 +210,16 @@ int main(const int argc, const char* const* const argv)
load_config(fs);
-#if (defined(__aarch64__) || defined(__arm__) || defined(__s390x__) || defined(_M_ARM) || defined(_M_ARM64)) && \
+#if (defined(__aarch64__) || defined(__arm__) || defined(__s390x__) || \
+ ((defined(__ppc64__) || defined(__PPC64__) || defined(__ppc64le__) || defined(__PPC64LE__)) && \
+ defined(__BYTE_ORDER__) && (__BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__)) || \
+ defined(_M_ARM) || defined(_M_ARM64)) && \
!defined(_WIN32) && !defined(__APPLE__)
if (!System::get_environment_variable("VCPKG_FORCE_SYSTEM_BINARIES").has_value())
{
Checks::exit_with_message(
VCPKG_LINE_INFO,
- "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm and s390x platforms.");
+ "Environment variable VCPKG_FORCE_SYSTEM_BINARIES must be set on arm, s390x, and ppc64le platforms.");
}
#endif