-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On the Ubuntu system on which qa_test.yml is run, gcc does not seem to accept -lresource as a CFLAGS. Instead, added this on the 'make' target. In addition, in mem.sh, we need to cd to the correct directory, before running make. Signed-off-by: Anjali Kulkarni <[email protected]>
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
CC = gcc | ||
export LD_LIBRARY_PATH = `git rev-parse --show-toplevel` | ||
CFLAGS = -g -Wall -Werror -I $(LD_LIBRARY_PATH) -std=gnu99 -L $(LD_LIBRARY_PATH) -lresource | ||
CFLAGS = -g -Wall -Werror -I $(LD_LIBRARY_PATH) -std=gnu99 -L $(LD_LIBRARY_PATH) | ||
REXE = mem_test mem_test_cg | ||
MFILES = mem_info.* | ||
|
||
mem_test: mem_test.c | ||
$(CC) $(CFLAGS) -o $@ $^ | ||
$(CC) $(CFLAGS) -o $@ $^ -lresource | ||
|
||
mem_test_cg: mem_test_cg.c | ||
$(CC) $(CFLAGS) -o $@ $^ | ||
$(CC) $(CFLAGS) -o $@ $^ -lresource | ||
|
||
clean: | ||
rm -rf $(MFILES) $(REXE) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters