From 3fc796561781f19dac9b2717a5905ddab0485823 Mon Sep 17 00:00:00 2001 From: Jerry Zhao Date: Thu, 16 Mar 2023 14:48:32 -0700 Subject: [PATCH] [ci skip] Add LD_PRELOAD comment to xcelium makefile --- sims/xcelium/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sims/xcelium/Makefile b/sims/xcelium/Makefile index 03ea00ac..12b31087 100644 --- a/sims/xcelium/Makefile +++ b/sims/xcelium/Makefile @@ -91,6 +91,8 @@ $(sim_run_tcl): $(sim_workdir) echo "run" >> $(sim_run_tcl) echo "exit" >> $(sim_run_tcl) +# The system libstdc++ may not link correctly with some of our dynamic libs, so +# force loading the conda one (if present) with LD_PRELOAD $(sim): $(sim_workdir) $(sim_run_tcl) echo "#!/usr/bin/env bash" > $(sim) echo "$$CAD_INFO_HEADER" >> $(sim)