mirror of
https://github.com/vortexgpgpu/vortex.git
synced 2025-04-23 21:39:10 -04:00
debug and remove travis.yml
This commit is contained in:
parent
19b5496f00
commit
7528dd9c0f
2 changed files with 1 additions and 119 deletions
118
.travis.yml
118
.travis.yml
|
@ -1,118 +0,0 @@
|
|||
language: cpp
|
||||
dist: focal
|
||||
os: linux
|
||||
compiler: gcc
|
||||
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- build-essential
|
||||
- valgrind
|
||||
- libstdc++6
|
||||
- binutils
|
||||
- python
|
||||
- uuid-dev
|
||||
|
||||
env:
|
||||
global:
|
||||
- TOOLDIR=$HOME/tools
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $TOOLDIR
|
||||
- $HOME/third_party
|
||||
- $HOME/build32
|
||||
- $HOME/build64
|
||||
|
||||
before_install:
|
||||
- if [ ! -d "$TOOLDIR" ] || [ -z "$(ls -A $TOOLDIR)" ] || [ "$(cat "$TOOLDIR/version.txt")" != "v0.4" ]; then
|
||||
rm -rf $TOOLDIR;
|
||||
mkdir -p $TRAVIS_BUILD_DIR/build && cd $TRAVIS_BUILD_DIR/build;
|
||||
../configure --tooldir=$TOOLDIR;
|
||||
ci/toolchain_install.sh --all;
|
||||
echo "v0.3" > "$TOOLDIR/version.txt";
|
||||
else
|
||||
echo "using existing tooldir build";
|
||||
fi
|
||||
- if [ ! -d "$HOME/third_party" ] || [ -z "$(ls -A $HOME/third_party)" ] || [ "$(cat "$HOME/third_party/version.txt")" != "v0.2" ]; then
|
||||
cd $TRAVIS_BUILD_DIR;
|
||||
make -C third_party > /dev/null;
|
||||
echo "v0.2" > "third_party/version.txt";
|
||||
cp -rf third_party $HOME;
|
||||
else
|
||||
echo "using existing third_party build";
|
||||
cp -rf $HOME/third_party $TRAVIS_BUILD_DIR;
|
||||
fi
|
||||
|
||||
install:
|
||||
- if [ ! -d "$HOME/build$XLEN" ] || [ -z "$(ls -A $HOME/build$XLEN)" ] || [ "$(cat "$HOME/build$XLEN/version.txt")" != "$TRAVIS_COMMIT" ]; then
|
||||
mkdir -p $TRAVIS_BUILD_DIR/build$XLEN && cd $TRAVIS_BUILD_DIR/build$XLEN;
|
||||
../configure --tooldir=$TOOLDIR --xlen=$XLEN;
|
||||
source ci/toolchain_env.sh;
|
||||
make build -s > /dev/null;
|
||||
echo "$TRAVIS_COMMIT" > version.txt;
|
||||
cp -rf $TRAVIS_BUILD_DIR/build$XLEN $HOME;
|
||||
else
|
||||
echo "using existing build for commit $TRAVIS_COMMIT";
|
||||
cp -rf $HOME/build$XLEN $TRAVIS_BUILD_DIR;
|
||||
fi
|
||||
|
||||
before_script:
|
||||
- cd $TRAVIS_BUILD_DIR/build$XLEN
|
||||
- source ci/toolchain_env.sh
|
||||
|
||||
stages:
|
||||
- test
|
||||
|
||||
jobs:
|
||||
include:
|
||||
- stage: test
|
||||
name: regression32
|
||||
env: XLEN=32
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --unittest
|
||||
- ./ci/travis_run.py ./ci/regression.sh --isa
|
||||
- ./ci/travis_run.py ./ci/regression.sh --kernel
|
||||
- ./ci/travis_run.py ./ci/regression.sh --synthesis
|
||||
- ./ci/travis_run.py ./ci/regression.sh --regression
|
||||
- ./ci/travis_run.py ./ci/regression.sh --opencl
|
||||
|
||||
- stage: test
|
||||
name: regression64
|
||||
env: XLEN=64
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --isa
|
||||
- ./ci/travis_run.py ./ci/regression.sh --kernel
|
||||
- ./ci/travis_run.py ./ci/regression.sh --synthesis
|
||||
- ./ci/travis_run.py ./ci/regression.sh --regression
|
||||
- ./ci/travis_run.py ./ci/regression.sh --opencl
|
||||
|
||||
- stage: test
|
||||
name: config
|
||||
env: XLEN=32
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --cluster
|
||||
- ./ci/travis_run.py ./ci/regression.sh --config
|
||||
|
||||
- stage: test
|
||||
name: debug
|
||||
env: XLEN=32
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --debug
|
||||
- ./ci/travis_run.py ./ci/regression.sh --stress
|
||||
|
||||
- stage: test
|
||||
name: virtual_memory
|
||||
env: XLEN=32
|
||||
env: VM_DISABLE=1
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --regression
|
||||
- ./ci/travis_run.py ./ci/regression.sh --opencl
|
||||
|
||||
- stage: test
|
||||
name: virtual_memory
|
||||
env: XLEN=64
|
||||
env: VM_DISABLE=1
|
||||
script:
|
||||
- ./ci/travis_run.py ./ci/regression.sh --regression
|
||||
- ./ci/travis_run.py ./ci/regression.sh --opencl
|
|
@ -120,7 +120,7 @@ public:
|
|||
uint64_t map_p2v(uint64_t ppn, uint32_t flags)
|
||||
{
|
||||
DBGPRINT(" [RT:MAP_P2V] ppn: %lx\n", ppn);
|
||||
if (addr_mapping.contains(ppn)) return addr_mapping[ppn];
|
||||
if (addr_mapping.find(ppn) != addr_mapping.end()) return addr_mapping[ppn];
|
||||
|
||||
// If ppn to vpn mapping doesnt exist, create mapping
|
||||
DBGPRINT(" [RT:MAP_P2V] Not found. Allocate new page table or update a PTE.\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue