From f4ec843b352cb48015299c7e09fbea732293ee91 Mon Sep 17 00:00:00 2001 From: Florian Zaruba <zarubaf@iis.ee.ethz.ch> Date: Tue, 15 Jan 2019 11:04:20 +0100 Subject: [PATCH] Fix library path also for Modelsim --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 5ba80794..157ed542 100644 --- a/Makefile +++ b/Makefile @@ -236,7 +236,7 @@ $(dpi-library)/%.o: tb/dpi/%.cc $(dpi_hdr) $(dpi-library)/ariane_dpi.so: $(dpi) mkdir -p $(dpi-library) # Compile C-code and generate .so file - $(CXX) -shared -m64 -o $(dpi-library)/ariane_dpi.so $? -lfesvr + $(CXX) -shared -m64 -o $(dpi-library)/ariane_dpi.so $? -L$(RISCV)/lib -Wl,-rpath,$(RISCV)/lib -lfesvr # single test runs on Questa can be started by calling make <testname>, e.g. make towers.riscv # the test names are defined in ci/riscv-asm-tests.list, and in ci/riscv-benchmarks.list -- GitLab