diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-07-16 19:10:58 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2024-07-16 19:52:49 -0700 |
commit | c96f57e0bb17e805403d6e0f6bd7f8618c24cfee (patch) | |
tree | 0f475f3d3cc8344e9bbe8782abda2589facda225 /ci-tests/test-spike | |
parent | f205bc4c297bb75079eeed84d28f51db0b41c81f (diff) | |
download | spike-c96f57e0bb17e805403d6e0f6bd7f8618c24cfee.zip spike-c96f57e0bb17e805403d6e0f6bd7f8618c24cfee.tar.gz spike-c96f57e0bb17e805403d6e0f6bd7f8618c24cfee.tar.bz2 |
Fix warning by renaming C++ source to .cc
Diffstat (limited to 'ci-tests/test-spike')
-rwxr-xr-x | ci-tests/test-spike | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ci-tests/test-spike b/ci-tests/test-spike index 0540739..e0b9fe0 100755 --- a/ci-tests/test-spike +++ b/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." |