robotpy / roborio-packages

Build files for RobotPy ipk packages
6 stars 2 forks source link

Adding Python 3.5 #7

Closed computer-whisperer closed 8 years ago

computer-whisperer commented 9 years ago

If I were to try and add python 3.5 here, what would that involve? Would it be better to add a seperate python35 package, or to upgrade the existing python3?

PeterJohnson commented 9 years ago

I think you should just be able to update the existing python3 package. I don't see a need to make a separate package since it's backwards compatible?

computer-whisperer commented 8 years ago

Forgive me if I am missing the obvious, but how are these build scripts supposed to be used? I tried running "make" in "ipkg/python3/" with the result of "No rule to make target 'data', needed by '../python3_3.4.2_armv7a-vfp-neon.ipk'. Stop."

PeterJohnson commented 8 years ago

Run "make ROBORIO={ip address/DNS name} all" to perform the build. This runs the full sequence of clean, install-deps, fetch, extract, build, install, getdata, and ipk. See Mk/ipkg.post.mk for all of the variables that can be set. This definitely needs to be documented.

virtuald commented 8 years ago

Anyone made progress here?

computer-whisperer commented 8 years ago

I'm sorry. I had made some progress on this, but got stuck and kinda forgot about it. If someone else wants to take a crack at it, then go ahead.

virtuald commented 8 years ago

Well, I updated the files for python 3.5 and numpy and pushed them to a branch, and it's building right now. If I recall correctly from last year, it's an hour or two to compile, so I'm heading to bed. Seems fine so far though.

https://github.com/robotpy/roborio-packages/tree/py35

virtuald commented 8 years ago

After some futzing, the build works. Just need to get stuff uploaded to a new opkg repo.

virtuald commented 8 years ago

Upgraded my roborio to the 2016 image, looks like they changed architecture name for the packages to cortexa9-vfpv3. Uploaded fixes to https://github.com/robotpy/roborio-packages/tree/2016, starting a build tonight and we'll see what happens.

virtuald commented 8 years ago

Fixed and uploaded to 2016 feed.