Skip to content

Commit

Permalink
Use C++17 by default in aiecc
Browse files Browse the repository at this point in the history
Otherwise it creates a lot of warning with XRT which uses (7-year old) C++17.
  • Loading branch information
keryell committed Apr 4, 2024
1 parent 524643f commit b601c48
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/compiler/aiecc/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@ async def process_host_cgen(self, aie_target, file_with_addresses):
],
)

cmd = ["clang++", "-std=c++11"]
cmd = ["clang++", "-std=c++17"]
if opts.host_target:
cmd += ["--target=" + opts.host_target]
if (
Expand Down

0 comments on commit b601c48

Please sign in to comment.