forked from dds-bridge/dds
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbuild-native.sh
More file actions
executable file
·29 lines (25 loc) · 971 Bytes
/
Copy pathbuild-native.sh
File metadata and controls
executable file
·29 lines (25 loc) · 971 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#!/bin/bash
set -e
echo "Building DDS native library (macOS)..."
cd "$(dirname "$0")"
export CXX=/opt/homebrew/bin/g++-15
export CC=/opt/homebrew/bin/gcc-15
bazel build \
//library/src:dds \
//library/src/system:system \
//library/src/solver_context:solver_context \
//library/src/trans_table:trans_table \
//library/src/moves:moves \
//library/src/lookup_tables:lookup_tables \
//library/src/heuristic_sorting:heuristic_sorting \
//library/src/utility:constants
echo "✓ Build complete"
echo "Outputs:"
echo " bazel-bin/library/src/libdds.a"
echo " bazel-bin/library/src/system/libsystem.a"
echo " bazel-bin/library/src/solver_context/libsolver_context.a"
echo " bazel-bin/library/src/trans_table/libtrans_table.a"
echo " bazel-bin/library/src/moves/libmoves.a"
echo " bazel-bin/library/src/lookup_tables/liblookup_tables.a"
echo " bazel-bin/library/src/heuristic_sorting/libheuristic_sorting.a"
echo " bazel-bin/library/src/utility/libconstants.a"