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

CI: enable clang tests (#898)

Summary: Pull Request resolved: https://github.com/facebookincubator/zstrong/pull/898

Reviewed By: malanka

Differential Revision: D59065671

fbshipit-source-id: 2a09ae13e1d4c62a7b9a907cca0e911672435ad1
This commit is contained in:
Simon Marlow
2024-07-03 08:57:21 -07:00
committed by Facebook GitHub Bot
parent 346775d9da
commit 3dfff8fb84
4 changed files with 23 additions and 3 deletions

View File

@@ -844,14 +844,20 @@ class FixupDeps(ProjectCmdBase):
# Accumulate the install directories so that the build steps # Accumulate the install directories so that the build steps
# can find their dep installation # can find their dep installation
install_dirs = [] install_dirs = []
dep_manifests = []
for m in projects: for m in projects:
inst_dir = loader.get_project_install_dir_respecting_install_prefix(m) inst_dir = loader.get_project_install_dir_respecting_install_prefix(m)
install_dirs.append(inst_dir) install_dirs.append(inst_dir)
dep_manifests.append(m)
if m == manifest: if m == manifest:
ctx = loader.ctx_gen.get_context(m.name)
env = loader.build_opts.compute_env_for_install_dirs(
loader, dep_manifests, ctx
)
dep_munger = create_dyn_dep_munger( dep_munger = create_dyn_dep_munger(
loader.build_opts, install_dirs, args.strip loader.build_opts, env, install_dirs, args.strip
) )
if dep_munger is None: if dep_munger is None:
print(f"dynamic dependency fixups not supported on {sys.platform}") print(f"dynamic dependency fixups not supported on {sys.platform}")

View File

@@ -0,0 +1,5 @@
[manifest]
name = clang
[rpms]
clang15-devel

View File

@@ -21,6 +21,9 @@ glog
folly folly
rocksdb rocksdb
xxhash xxhash
llvm
clang
re2
[build] [build]
builder = make builder = make
@@ -29,8 +32,9 @@ builder = make
cabal-update cabal-update
all all
glass glass
glean-clang
EXTRA_GHC_OPTS=-j4 +RTS -A32m -n4m -RTS EXTRA_GHC_OPTS=-j4 +RTS -A32m -n4m -RTS
CABAL_CONFIG_FLAGS=-f-clang-tests -f-hack-tests -f-typescript-tests -f-python-tests -f-dotnet-tests -f-go-tests -f-rust-tests -f-java-lsif-tests -f-flow-tests CABAL_CONFIG_FLAGS=-f-hack-tests -f-typescript-tests -f-python-tests -f-dotnet-tests -f-go-tests -f-rust-tests -f-java-lsif-tests -f-flow-tests
[make.install_args] [make.install_args]
install install
@@ -38,4 +42,4 @@ install
[make.test_args] [make.test_args]
test test
EXTRA_GHC_OPTS=-j4 +RTS -A32m -n4m -RTS EXTRA_GHC_OPTS=-j4 +RTS -A32m -n4m -RTS
CABAL_CONFIG_FLAGS=-f-clang-tests -f-hack-tests -f-typescript-tests -f-python-tests -f-dotnet-tests -f-go-tests -f-rust-tests -f-java-lsif-tests -f-flow-tests CABAL_CONFIG_FLAGS=-f-hack-tests -f-typescript-tests -f-python-tests -f-dotnet-tests -f-go-tests -f-rust-tests -f-java-lsif-tests -f-flow-tests

View File

@@ -0,0 +1,5 @@
[manifest]
name = llvm
[rpms]
llvm15-devel