mirror of
https://github.com/facebook/proxygen.git
synced 2025-08-08 18:02:05 +03:00
getdeps: disable ccache on sandcastle
Summary: We sometimes see some flakeyness in our internal CI, so we can live without it there. Reviewed By: pkaush Differential Revision: D15695124 fbshipit-source-id: 1d76ae89e245d9c95937e8818826c544c0ae8fc3
This commit is contained in:
committed by
Facebook Github Bot
parent
ca8db4ad12
commit
f92ccd380b
@@ -271,9 +271,13 @@ class CMakeBuilder(BuilderBase):
|
|||||||
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
"CMAKE_BUILD_TYPE": "RelWithDebInfo",
|
||||||
}
|
}
|
||||||
env = self._compute_env(install_dirs)
|
env = self._compute_env(install_dirs)
|
||||||
ccache = path_search(env, "ccache")
|
if "SANDCASTLE" not in os.environ:
|
||||||
if ccache:
|
# We sometimes see intermittent ccache related breakages on some
|
||||||
defines["CMAKE_CXX_COMPILER_LAUNCHER"] = ccache
|
# of the FB internal CI hosts, so we prefer to disable ccache
|
||||||
|
# when running in that environment.
|
||||||
|
ccache = path_search(env, "ccache")
|
||||||
|
if ccache:
|
||||||
|
defines["CMAKE_CXX_COMPILER_LAUNCHER"] = ccache
|
||||||
if self.build_opts.is_darwin():
|
if self.build_opts.is_darwin():
|
||||||
# Try to persuade cmake to set the rpath to match the lib
|
# Try to persuade cmake to set the rpath to match the lib
|
||||||
# dirs of the dependencies. This isn't automatic, and to
|
# dirs of the dependencies. This isn't automatic, and to
|
||||||
|
Reference in New Issue
Block a user