Closed
Conversation
… and sim_mega128rfr2 so they can be compiled again
Owner
|
Good stuff. Thanks. Updating the underlying simavr is indeed needed. Just few comments:
Inside to project root (where the Vagrantfile is): Then inside the vm: cd /vagrant/pysimavr/swig
scons -c
rm *.so *.os *.pyc #Just extra cleanup as Scons only purges files it knows about
sconsAnd to further install the files and run the tests: cd /vagrant
python3 ./setup.py build --force
#python ./setup.py build --force
sudo python3 ./setup.py install
#sudo python ./setup.py install
#Clean local files to ensure system files are used
cd /vagrant/pysimavr/swig
scons -c
#Smoke test
python3 -c "from pysimavr.avr import Avr"
#python -c "from pysimavr.avr import Avr"
cd /vagrant/tests
#Run all tests
python3 /usr/local/bin/nosetests .
#nosetests -v --cover-package=pysimavr .This would be for python3. Python2 commands are commented out. |
f987ae9 to
7773cd8
Compare
Author
|
OK I've updated via Vagrand. I was not expecting it to use 3.3G of disk space... |
Owner
Owner
|
3.3G seems quite odd. My vagrant has like 300MB. But I never ran the "'make' inside simavr". |
Owner
|
I've merged this also into my master branch. As the two pending pr I have opened upstreem are stalled apparently. Should you do any further pr please open them against the master. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull requests updates the included SimAVR version to the latest one. It also updates the included
avr-libcheader files so it's not necessary anymore to exclude parts of SimAVR from the build.