Skip to content

Commit 3c38c5d

Browse files
committed
fix libarielapi search paths in tests
1 parent 0aa98c0 commit 3c38c5d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/sst/elements/ariel/frontend/simple/examples/stream/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ stream:
99
g++ stream.c -o stream $(CFLAGS_LOCAL)
1010

1111
stream_mlm:
12-
g++ stream_malloc.c -o stream_mlm $(CFLAGS_LOCAL) -I$(API_DIR) -L. -L$(API_DIR) -larielapi
12+
g++ stream_malloc.c -o stream_mlm $(CFLAGS_LOCAL) -I$(API_DIR) -L. -L$(API_DIR) -L$(LDFLAGS) -larielapi

src/sst/elements/ariel/tests/testsuite_default_Ariel.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ def _setup_ariel_test_files(self):
163163
os.environ["LD_LIBRARY_PATH"] = new_ld_library_path
164164

165165
# Now build the Ariel stream example
166-
cmd = "make"
166+
cmd = f"make LDFLAGS=-L{libdir}"
167167
rtn1 = OSCommand(cmd, set_cwd=self.ArielElementStreamDir).run()
168168
log_debug("Ariel stream Make result = {0}; output =\n{1}".format(rtn1.result(), rtn1.output()))
169169
if rtn1.result() != 0:

0 commit comments

Comments
 (0)