The Makefile sed scripts for xschem still fail on OS X, which
appears to be syntactically different from other versions of sed.
Seems to require a newline after the a\ command.
diff --git a/sky130/Makefile.in b/sky130/Makefile.in
index 698c1bc..224fe92 100644
--- a/sky130/Makefile.in
+++ b/sky130/Makefile.in
@@ -629,9 +629,11 @@
# Re-copy the xschemrc, with one change to add the PDK install path as
# a component of XSCHEM_LIBRARY_PATH
cat ${XSCHEM_PATH}/xschemrc | \
- sed -e "/PWD/a\append XSCHEM_LIBRARY_PATH :${XSCHEM_STAGING_A}" | \
+ sed -e "/PWD/a\
+ append XSCHEM_LIBRARY_PATH :${XSCHEM_STAGING_A}" | \
sed -e "/sky130_models.tcl/s#scripts#${XSCHEM_STAGING_A}/scripts#" | \
- sed -e "/netlist_dir/a\set netlist_dir ." \
+ sed -e "/netlist_dir/a\
+ set netlist_dir ." \
> ${XSCHEM_STAGING_A}/xschemrc
openlane-a: openlane/common_pdn.tcl openlane/config.tcl openlane/sky130_fd_sc_hd/config.tcl openlane/sky130_fd_sc_hs/config.tcl openlane/sky130_fd_sc_ms/config.tcl openlane/sky130_fd_sc_ls/config.tcl openlane/sky130_fd_sc_hdll/config.tcl openlane/sky130_osu_sc_t18/config.tcl