Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hls/xls: add xlscc target #327

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 5 additions & 2 deletions hls/xls/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ $SRC_DIR/bazelisk-linux-amd64 build -c opt \
//xls/tools:opt_main \
//xls/tools:codegen_main \
//xls/tools:proto_to_dslx_main \
//xls/contrib/xlscc:xlscc \
//xls/tools:package_bazel_build

# install targets
Expand All @@ -20,15 +21,17 @@ bazel-bin/xls/tools/package_bazel_build --output_dir $PREFIX/share/xls \
--inc_target xls/dslx/ir_convert/ir_converter_main \
--inc_target xls/tools/opt_main \
--inc_target xls/tools/codegen_main \
--inc_target xls/tools/proto_to_dslx_main
--inc_target xls/tools/proto_to_dslx_main \
--inc_target xls/contrib/xlscc/xlscc

# create tools symlinks
mkdir -p $PREFIX/bin
for f in xls/dslx/interpreter_main \
xls/dslx/ir_convert/ir_converter_main \
xls/tools/opt_main \
xls/tools/codegen_main \
xls/tools/proto_to_dslx_main
xls/tools/proto_to_dslx_main \
xls/contrib/xlscc/xlscc
do
ln -sr $PREFIX/share/xls/$f $PREFIX/bin/$(basename $f)
done