We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 787b1e6 commit 3468a7eCopy full SHA for 3468a7e
vitis/defs.bzl
@@ -34,7 +34,10 @@ vitis_hls_files_aspect = aspect(
34
35
def _vitis_generate_impl(ctx):
36
all_files = []
37
- cflags = "-D__SYNTHESIS__=1 --std=c++17"
+ if ctx.attr.use_vivado_hls:
38
+ cflags = "-D__SYNTHESIS__=1 --std=c++11"
39
+ else:
40
+ cflags = "-D__SYNTHESIS__=1 --std=c++17"
41
for dep in ctx.attr.deps:
42
for file in dep[HlsFileInfo].files:
43
external_path = "/".join([file.root.path, file.owner.workspace_root]) if file.root.path else file.owner.workspace_root
0 commit comments