File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
frontend/simple/examples/stream Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change 99 g++ stream.c -o stream $(CFLAGS_LOCAL )
1010
1111stream_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
Original file line number Diff line number Diff 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 :
You can’t perform that action at this time.
0 commit comments