You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Include bazel website link; there is a link on the main project page, but not here
There's a section that says "Binary releases are coming soon"; add a link to Install Using Conda
My initial attempt to build from source failed with Executing genrule @z3//:gen_src/tactic/smtlogics/qfufbv_tactic_params [for tool] failed: (Exit 127): bash failed: error executing command (from target @z3//:gen_src/tactic/smtlogics/qfufbv_tactic_params) /bin/bash -c ... (remaining 1 argument skipped); re-executing with bazel build -c opt xls/... --sandbox_debug and looking at the logs, I spotted /bin/bash: line 1: python: command not found; I aliased python to /usr/bin/python3 and hoped for the best and it worked. We should include dependency on python 2.x in the description or fix the build to gracefully handle python3. python3 is called out as a specific dependency on the main project page (see commit eb2fb6d81523b09fbd77b63b88381b1ad6c74850 for more context)
During the build, there are many noisy compiler warnings from the external packages, but also from XLS code too (built with bazel 7.0.0, synced to commit 0bbb0a9):
xls/common/logging/logging.cc:50:13: warning: unused function 'MakeCheckOpValueString' [-Wunused-function]
xls/common/logging/logging.cc:58:13: warning: unused function 'MakeCheckOpValueString' [-Wunused-function]
xls/common/logging/logging.cc:66:13: warning: unused function 'MakeCheckOpValueString' [-Wunused-function]
xls/dslx/stdlib/float32_test.cc:61:18: warning: implicit conversion from 'type' (aka 'int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
xls/netlist/interpreter_test.cc:547:43: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
xls/netlist/interpreter_test.cc:548:42: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
xls/noc/config_ng/flattened_multi_dimensional_array_test.cc:43:16: warning: variable 'element' set but not used [-Wunused-but-set-variable]
xls/tools/benchmark_main.cc:685:60: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions]
bazel-out/k8-opt/bin/xls/build_rules/tests/type_definitions_types_cpp.cc:15:13: warning: unused function 'FitsInNBitsSigned' [-Wunused-function]
xls/common/logging/logging.cc:42:13: warning: unused function 'MakeCheckOpValueString' [-Wunused-function]
xls/common/status/status_macros_test.cc:117:30: warning: variable 't6' set but not used [-Wunused-but-set-variable]
xls/dslx/stdlib/float32_test.cc:53:36: warning: implicit conversion from 'type' (aka 'int') to 'float' changes value from 2147483647 to 2147483648 [-Wimplicit-const-int-float-conversion]
xls/fuzzer/cpp_run_fuzz.cc:47:14: warning: unused function 'WriteToFile' [-Wunused-function]
xls/ir/bits_test.cc:535:20: warning: unused function 'BytesToHexString' [-Wunused-function]
./xls/jit/function_base_jit.h:184:17: warning: private field 'function_base_' is not used [-Wunused-private-field]
xls/jit/switchable_function_jit.cc:43:2: warning: XLS JIT is currently disabled via EMERGENCY_FORCE_INTERPRETER and by default won't be used. [-W#warnings]
xls/modules/aes/aes_test_common.cc:108:13: warning: unused function 'InitVectorToBuffer' [-Wunused-function]
xls/tools/benchmark_main.cc:612:60: warning: captured structured bindings are a C++20 extension [-Wc++20-extensions]
Create Your Module
It appears to work fine if hello_xls.x is created outside of the repo root directory, which I think is actually better anyway so that the user isn't cluttering up the root dir with untracked files
Say hello, XLS!
Tell the user that they can exit the repl via ctrl-d (exit quit and help don't do anything)
The test text does not appear to output the trace string; it does appear in the log, so users should be instructed to execute the test with --alsologtostderr or else the trace function should also write to stdout
The text was updated successfully, but these errors were encountered:
doc link
Installation and Building
Include bazel website link; there is a link on the main project page, but not here
There's a section that says "Binary releases are coming soon"; add a link to Install Using Conda
My initial attempt to build from source failed with
Executing genrule @z3//:gen_src/tactic/smtlogics/qfufbv_tactic_params [for tool] failed: (Exit 127): bash failed: error executing command (from target @z3//:gen_src/tactic/smtlogics/qfufbv_tactic_params) /bin/bash -c ... (remaining 1 argument skipped)
; re-executing withbazel build -c opt xls/... --sandbox_debug
and looking at the logs, I spotted/bin/bash: line 1: python: command not found
; I aliased python to /usr/bin/python3 and hoped for the best and it worked. We should include dependency on python 2.x in the description or fix the build to gracefully handle python3. python3 is called out as a specific dependency on the main project page (see commit eb2fb6d81523b09fbd77b63b88381b1ad6c74850 for more context)During the build, there are many noisy compiler warnings from the external packages, but also from XLS code too (built with bazel 7.0.0, synced to commit 0bbb0a9):
Create Your Module
hello_xls.x
is created outside of the repo root directory, which I think is actually better anyway so that the user isn't cluttering up the root dir with untracked filesSay hello, XLS!
Tell the user that they can exit the repl via ctrl-d (exit quit and help don't do anything)
The test text does not appear to output the trace string; it does appear in the log, so users should be instructed to execute the test with
--alsologtostderr
or else thetrace
function should also write tostdout
The text was updated successfully, but these errors were encountered: