File tree 5 files changed +29
-1
lines changed
5 files changed +29
-1
lines changed Original file line number Diff line number Diff line change
1
+ [submodule "gcheck/gcheck "]
2
+ path = gcheck/gcheck
3
+ url = git@github.com:lainets/gcheck.git
Original file line number Diff line number Diff line change @@ -6,3 +6,13 @@ RUN apt_install \
6
6
libc-dev \
7
7
make \
8
8
valgrind
9
+
10
+ COPY gcheck/gcheck /gcheck
11
+ RUN rm -rf /gcheck/.git
12
+
13
+ RUN make -C /gcheck static
14
+
15
+ # Add the gcheck variables to /gcheck.env
16
+ COPY gcheck/Makefile /Makefile
17
+ RUN make -s -C / > /gcheck.env
18
+ RUN rm /Makefile
Original file line number Diff line number Diff line change 1
1
# grade-c
2
2
3
- A+ grading container with C compilers. It contains:
3
+ [ A+ ] grading container with C compilers. It contains:
4
4
5
5
* ` make `
6
6
* ` gcc `
7
7
* ` g++ `
8
8
* ` valgrind `
9
+ * [ gcheck]
10
+
11
+ [ gcheck ] : https://github.com/lainets/gcheck
12
+ [ A+ ] : https://github.com/apluslms/a-plus
9
13
10
14
## Tags
11
15
Original file line number Diff line number Diff line change
1
+ GCHECK_DIR = /gcheck
2
+ include $(GCHECK_DIR ) /vars.make
3
+ GCHECK_LIB_DIR: =$(GCHECK_DIR ) /$(GCHECK_LIB_DIR )
4
+ GCHECK_INCLUDE_DIR: =$(GCHECK_DIR ) /$(GCHECK_INCLUDE_DIR )
5
+
6
+ envs :
7
+ echo " GCHECK_DIR=$( GCHECK_DIR) "
8
+ echo " GCHECK_LIB_DIR=$( GCHECK_LIB_DIR) "
9
+ echo " GCHECK_LIB=$( GCHECK_LIB) "
10
+ echo " GCHECK_INCLUDE_DIR=$( GCHECK_INCLUDE_DIR) "
You can’t perform that action at this time.
0 commit comments