diff options
author | 2019-10-02 18:06:50 -0700 | |
---|---|---|
committer | 2019-10-03 18:30:08 -0700 | |
commit | 1b2a7cfd2a5db7a86ec93ab6455052c76f439ba4 (patch) | |
tree | 1f21ac90c9ff41498981484195cbfdcd03efc6aa /Source/Parallelization/WarpXComm.cpp | |
parent | ca5ef843b1c255b4614e4dbe5fa4e21f14c2ad84 (diff) | |
download | WarpX-1b2a7cfd2a5db7a86ec93ab6455052c76f439ba4.tar.gz WarpX-1b2a7cfd2a5db7a86ec93ab6455052c76f439ba4.tar.zst WarpX-1b2a7cfd2a5db7a86ec93ab6455052c76f439ba4.zip |
run_test.sh: in /tmp, fix OSX
`cp -r ../* warpx/` copies itself recursively and indefinitely on
OSX. This makes sense, the longer one looks at it.
Instead, we create a temporary dir in `/tmp` for our compiles and
runs, which potentially is even faster due to RAM-fs on most
systems. We then copy our current sources to it and then link the
directory back into `test_dir/` in-source (not cool, not cool to
build in-source generally) so nobody notices what magic we did.
Diffstat (limited to 'Source/Parallelization/WarpXComm.cpp')
0 files changed, 0 insertions, 0 deletions