Skip to content

Commit

Permalink
Merge in
Browse files Browse the repository at this point in the history
  • Loading branch information
akashlevy committed Jan 5, 2025
2 parents d8dda5c + d869949 commit 26c59f8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion cmake/FindTCL.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ set(TCL_POSSIBLE_NAMES
# tcl lib path guesses.
if (NOT TCL_LIB_PATHS)
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
set(TCL_LIB_PATHS /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib /opt/homebrew/opt/tcl-tk/lib /usr/local/lib)
set(TCL_LIB_PATHS /opt/homebrew/Cellar/tcl-tk@8/8.6.16/lib /opt/homebrew/opt/tcl-tk@8/lib /usr/local/lib)
set(TCL_NO_DEFAULT_PATH TRUE)
elseif (CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(TCL_LIB_PATHS /usr/lib /usr/lib64 /usr/local/lib)
Expand Down
3 changes: 1 addition & 2 deletions test/regression_vars.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -134,9 +134,8 @@ record_sta_tests {
get_noargs
get_objrefs
get_lib_pins_of_objects
write_timing_model_scalar
report_checks_src_attr
report_checks_json
write_timing_model_scalar
liberty_latch3
}

Expand Down
3 changes: 2 additions & 1 deletion util/Report.cc
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
#include <algorithm> // min
#include <cstdlib> // exit
#include <cstring> // strlen
#include <csignal> // signal

#include "Machine.hh"
#include "Error.hh"
Expand Down Expand Up @@ -299,7 +300,7 @@ Report::fileCritical(int /* id */,
printToBufferAppend(fmt, args);
printBufferLine();
va_end(args);
exit(1);
raise(SIGABRT);
}

////////////////////////////////////////////////////////////////
Expand Down
3 changes: 2 additions & 1 deletion util/StringUtil.cc
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#include <cctype>
#include <cstdio>
#include <cstdlib> // exit
#include <csignal> // signal
#include <array>
#include <algorithm>

Expand Down Expand Up @@ -217,7 +218,7 @@ stringDeleteCheck(const char *str)
{
if (isTmpString(str)) {
printf("Critical error: stringDelete for tmp string.");
exit(1);
raise(SIGABRT);
}
}

Expand Down

0 comments on commit 26c59f8

Please sign in to comment.