Skip to content

Commit 816edb6

Browse files
authored
Merge branch 'main' into fix_cudf_dbg_build
2 parents b3db7be + 6580068 commit 816edb6

File tree

410 files changed

+192367
-156728
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

410 files changed

+192367
-156728
lines changed
Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# Copyright (c) Facebook, Inc. and its affiliates.
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
name: Generate Dependency Graph
16+
description: >
17+
Configure CMake with File API and compile_commands.json, then generate
18+
the dependency graph JSON (file_to_targets, header_to_sources, target_deps).
19+
20+
runs:
21+
using: composite
22+
steps:
23+
- name: Fix git permissions
24+
shell: bash
25+
run: git config --global --add safe.directory ${GITHUB_WORKSPACE}
26+
27+
- name: Set up File API query
28+
shell: bash
29+
run: |
30+
mkdir -p _build/release/.cmake/api/v1/query
31+
echo '{}' > _build/release/.cmake/api/v1/query/codemodel-v2
32+
33+
- name: CMake configure
34+
shell: bash
35+
env:
36+
MAKEFLAGS: NUM_THREADS=8
37+
run: |
38+
source /opt/rh/gcc-toolset-14/enable
39+
cmake -B _build/release -GNinja \
40+
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
41+
-DVELOX_MONO_LIBRARY=OFF \
42+
-DVELOX_ENABLE_BENCHMARKS=ON \
43+
-DVELOX_ENABLE_EXAMPLES=ON \
44+
-DVELOX_ENABLE_ARROW=ON \
45+
-DVELOX_ENABLE_GEO=ON \
46+
-DVELOX_ENABLE_PARQUET=ON \
47+
-DVELOX_ENABLE_HDFS=ON \
48+
-DVELOX_ENABLE_S3=ON \
49+
-DVELOX_ENABLE_GCS=ON \
50+
-DVELOX_ENABLE_ABFS=ON \
51+
-DVELOX_ENABLE_WAVE=ON
52+
53+
- name: Generate dependency graph
54+
shell: bash
55+
run: |
56+
python3 .github/scripts/generate-dependency-graph.py \
57+
--build-dir _build/release \
58+
--source-dir . \
59+
--output dependency-graph.json

0 commit comments

Comments
 (0)