Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pull request for gslab_python#99: Add cache reconfiguration code #83

Merged
merged 10 commits into from
Sep 1, 2017
15 changes: 15 additions & 0 deletions analysis/scons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import sys
import subprocess

def main():
# Pass on command line args
del sys.argv[0]
cl_args = ' '.join(sys.argv)

# Create call
call = 'python ../config/scons/scons.py %s' % cl_args
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shall we make the path an argument?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not relevent, switching to symlink, but a good suggestion if it stayed relevant.


# Execute
subprocess.call(call, shell = True)

main()
3 changes: 3 additions & 0 deletions config/scons.zip
Git LFS file not shown
15 changes: 15 additions & 0 deletions paper_slides/scons.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import sys
import subprocess

def main():
# Pass on command line args
del sys.argv[0]
cl_args = ' '.join(sys.argv)

# Create call
call = 'python ../config/scons/scons.py %s' % cl_args

# Execute
subprocess.call(call, shell = True)

main()