From 577d5b1ac1fe0ab6a76e3aebaddc46c53ea60439 Mon Sep 17 00:00:00 2001 From: Johan Euphrosine Date: Fri, 28 Apr 2023 01:49:07 +0900 Subject: [PATCH] hls/xls: add xlscc target --- hls/xls/build.sh | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/hls/xls/build.sh b/hls/xls/build.sh index 6ee12d4c..539ff89e 100644 --- a/hls/xls/build.sh +++ b/hls/xls/build.sh @@ -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 @@ -20,7 +21,8 @@ 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 @@ -28,7 +30,8 @@ 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