diff options
author | Andrew Waterman <andrew@sifive.com> | 2024-07-16 19:41:38 -0700 |
---|---|---|
committer | Andrew Waterman <andrew@sifive.com> | 2024-07-16 19:52:49 -0700 |
commit | fb2adef30e75438926a74bc268aba1f355a45996 (patch) | |
tree | 7b05337322754463d69b565c2a71e29d739d7992 | |
parent | c96f57e0bb17e805403d6e0f6bd7f8618c24cfee (diff) | |
download | spike-fb2adef30e75438926a74bc268aba1f355a45996.zip spike-fb2adef30e75438926a74bc268aba1f355a45996.tar.gz spike-fb2adef30e75438926a74bc268aba1f355a45996.tar.bz2 |
update c++ version to c++2a for CI tests
-rwxr-xr-x | ci-tests/test-spike | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ci-tests/test-spike b/ci-tests/test-spike index e0b9fe0..8202bcd 100755 --- a/ci-tests/test-spike +++ b/ci-tests/test-spike @@ -13,8 +13,8 @@ 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.cc -lriscv -o test-libriscv -g++ -std=c++17 -I../install/include -L../install/lib $DIR/test-customext.cc -lriscv -o test-customext +g++ -std=c++2a -I../install/include -L../install/lib $DIR/testlib.cc -lriscv -o test-libriscv +g++ -std=c++2a -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." LD_LIBRARY_PATH=../install/lib ./test-customext pk dummy-slliuw | grep "Executed successfully" |