1
0
mirror of https://github.com/facebook/proxygen.git synced 2025-08-08 18:02:05 +03:00

feat: add support for compiling open/r on 64-bit arm linux (#95)

Summary:
Description:

Prior to this patch it was not possible to run open/r on linux running on ARM due to cmake and openssl being harded to download/compile for the x86_64 arch.

In order to prevent such problem this patch actively compiles cmake instead of using pre-compiled binaries and also allows the OpenSSLBuilder to provide the correct build args to openssl, thus not trying to compile or run x86_64 software.

Pull Request resolved: https://github.com/facebook/openr/pull/95

Test Plan: * built the project by using ./build/build_openr.sh

Reviewed By: wez

Differential Revision: D28224684

Pulled By: cooperlees

fbshipit-source-id: 9de61dc6d7dcf7116ec5c67f3f165cd4a4bb5e5c
This commit is contained in:
Guilherme Íscaro
2021-06-01 11:39:32 -07:00
committed by Facebook GitHub Bot
parent 1cedfc1019
commit cbe7c9dd5b
5 changed files with 54 additions and 17 deletions

View File

@@ -141,6 +141,9 @@ class BuildOptions(object):
def is_windows(self):
return self.host_type.is_windows()
def is_arm(self):
return self.host_type.is_arm()
def get_vcvars_path(self):
return self.vcvars_path