Browse Source

Fix warning by renaming C++ source to .cc

pull/1730/head
Andrew Waterman 2 years ago
parent
commit
c96f57e0bb
  1. 2
      ci-tests/test-spike
  2. 0
      ci-tests/testlib.cc

2
ci-tests/test-spike

@ -13,7 +13,7 @@ tar xf spike-ci.tar
time ../install/bin/spike --isa=rv64gc pk hello | grep "Hello, world! Pi is approximately 3.141588."
# check that including sim.h in an external project works
g++ -std=c++17 -I../install/include -L../install/lib $DIR/testlib.c -lriscv -o test-libriscv
g++ -std=c++17 -I../install/include -L../install/lib $DIR/testlib.cc -lriscv -o test-libriscv
g++ -std=c++17 -I../install/include -L../install/lib $DIR/test-customext.cc -lriscv -o test-customext
LD_LIBRARY_PATH=../install/lib ./test-libriscv pk hello| grep "Hello, world! Pi is approximately 3.141588."

0
ci-tests/testlib.c → ci-tests/testlib.cc

Loading…
Cancel
Save