question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Makefiles write to sim.log inconsistently

See original GitHub issue

Our Makefile.ghdl doesn’t have the usual | tee $(SIM_BUILD)/sim.log at the end of the simulation command line nor any other option to that effect, so it doesn’t produce a sim.log file at all.

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
cmarqucommented, May 13, 2020

Actually, this file sim.log is only used in about 50% of our Makefiles, the other ones are letting the simulator write whatever file it likes. Since the | tee is breaking the isatty detection for color output, we should rather try to remove this.

0reactions
marlonjamescommented, Oct 8, 2020

Yeah I’ll try to track it down more precisely and make an issue

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorial on writing makefiles
Tutorial on writing makefiles. Do I need a makefile? A simple makefile. Using variables; Pattern rules. Phony targets; Working with several directories.
Read more >
GNU make
GNU make. This file documents the GNU make utility, which determines automatically which pieces of a large program need to be recompiled, ...
Read more >
Build options and Environment Variables
The common Makefile cocotb/share/makefiles/Makefile.sim includes the appropriate simulator Makefile based on the contents of the SIM variable.
Read more >
Vivado Simulator scripted flow Part 3: Makefiles - It's Embedded!
When writing a Makefile, most targets are named exactly as the output file that the target recipe produces. Dependencies of targets can be ......
Read more >
12. Debugging Makefiles - Managing Projects with GNU Make ...
Normally, debugging information is not enabled until after the makefiles have been updated. This includes updating any included files, such as lists of ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found