From 65e403df12e44d5d83e1f4bde99d37e3e36732bc Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Sun, 9 May 2021 04:39:39 -0400 Subject: [PATCH] Allow precompile of the dummy file --- src/sky130_fd_pr.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sky130_fd_pr.jl b/src/sky130_fd_pr.jl index d3d4effe..6a08cb78 100644 --- a/src/sky130_fd_pr.jl +++ b/src/sky130_fd_pr.jl @@ -1,5 +1,5 @@ module sky130_fd_pr # ERROR: TODO: Maybe have a julia-side SPICE model registry also, # to avoid requiring explicit .lib in the `.sp` files? - error("This is a SPICE model package, not a julia package. Don't attempt to load it like this.") + __init__() = error("This is a SPICE model package, not a julia package. Don't attempt to load it like this.") end \ No newline at end of file