cucapra / polyphemus

A Cyclops managing FPGA execution in the clouds
MIT License
6 stars 2 forks source link

Why is sh -c used? #35

Closed sa2257 closed 3 years ago

sa2257 commented 3 years ago

I’m curious why sh -c is used to run emulation and hardware execution in SDACCEL flow. It might be useful for the execution issue I have in Vitis. Thanks!

https://github.com/cucapra/polyphemus/blob/a7c3eeba67a35b95920f066347524bbe49259d76/polyphemus/worker_f1.py#L212

sampsyo commented 3 years ago

Otherwise you can't use source or ;, which are shell constructs (not literal executables).