Skip to content

Commit

Permalink
Update FastHenry, now builds with gcc-10.
Browse files Browse the repository at this point in the history
  • Loading branch information
wrcad committed Jul 12, 2020
1 parent 3f3ca7b commit 9b4f86c
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 14 deletions.
19 changes: 9 additions & 10 deletions fasthenry/Makefile.in
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,12 @@ INSTALL_SCRIPT = $(INSTALL) -c -m 0755
INSTALL_LIB = $(INSTALL) -c -m 0644
INSTALL_LIB_RO = $(INSTALL) -c -m 0444

FASTHENRY = fasthenry-3.0wr-062820.tar.gz
FASTHENRY = fasthenry-3.0wr-071020.tar.gz

FASTHENRY_DIR = fasthenry-3.0wr
SRCDIR = $(FASTHENRY_DIR)/src/fasthenry

IDSTR := "`./version` `$(BASE)/info.sh osname` `$(BASE)/info.sh arch`"
IDSTR := \"`./version` `$(BASE)/info.sh osname` `$(BASE)/info.sh arch`\"
VERS := \"`./version`\"

all: unpack
Expand All @@ -39,17 +40,15 @@ unpack:
if [ -n "$(EXESUFFIX)" ]; then \
(cd $(FASTHENRY_DIR); ./config mingw); \
fi; \
mv -f fasthenry-3.0wr/src/fasthenry/induct.c /tmp; \
sed -e s/XT_IDSTRING/$(IDSTR)/ \
< /tmp/induct.c > fasthenry-3.0wr/src/fasthenry/induct.c; \
mv -f fasthenry-3.0wr/src/fasthenry/induct.h /tmp; \
mv -f $(SRCDIR)/release.h $(SRCDIR)/release.h.orig; \
sed -e "s/FHVERSION .*$$/FHVERSION $(VERS)/" \
-e "s/FHDATE .*$$/FHDATE \"xictools\"/" \
< /tmp/induct.h > fasthenry-3.0wr/src/fasthenry/induct.h; \
mv -f fasthenry-3.0wr/src/fasthenry/mk_klu.inc /tmp; \
-e "s/ID_STRING .*$$/ID_STRING $(IDSTR)/" \
< $(SRCDIR)/release.h.orig > $(SRCDIR)/release.h; \
mv -f $(SRCDIR)/mk_klu.inc $(SRCDIR)/mk_klu.inc.orig; \
sed -e "s^KLU_HOME .*$$^KLU_HOME = ../../../../KLU^" \
-e "s^#RTLIB .*$$^RTLIB = $(LIBRT)^" \
< /tmp/mk_klu.inc > fasthenry-3.0wr/src/fasthenry/mk_klu.inc; \
-e "s^#RTLIB .*$$^RTLIB = $(LIBRT)^" \
< $(SRCDIR)//mk_klu.inc.orig > $(SRCDIR)/mk_klu.inc; \
fi

clean:
Expand Down
Binary file removed fasthenry/fasthenry-3.0wr-062820.tar.gz
Binary file not shown.
Binary file added fasthenry/fasthenry-3.0wr-071020.tar.gz
Binary file not shown.
2 changes: 1 addition & 1 deletion fasthenry/version
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
# 3.0 for major/minor, and increment the release. The 033020
# distribution is release number 16.

release_num=17
release_num=18

echo 3.0.$release_num

3 changes: 0 additions & 3 deletions xic/src/gtkxic/gtkextfh.cc
Original file line number Diff line number Diff line change
Expand Up @@ -437,9 +437,6 @@ sFh::sFh(GRobject c)
frame = gtk_frame_new("FhManhGridCnt");
gtk_widget_show(frame);

//XXX int ndgt = CD()->numDigits();
// double val = FH_MIN_RECT_SIZE_DEF;

GtkWidget *sb = sb_fh_manh_grid_cnt.init(FH_DEF_MANH_GRID_CNT,
FH_MIN_MANH_GRID_CNT,
FH_MAX_MANH_GRID_CNT, 0);
Expand Down

0 comments on commit 9b4f86c

Please sign in to comment.