For those interested in creating setup/install packages for OpenOCD, I just 
updated the GNU ARM Eclipse OpenOCD build procedures to use Docker containers.

The current build-openocd.sh procedure includes a single run script, running on 
OS X and creating 5 files:

        gnuarmeclipse-openocd-win32-0.9.0-201505190955-setup.exe
        gnuarmeclipse-openocd-win64-0.9.0-201505190955-setup.exe
        gnuarmeclipse-openocd-debian32-0.9.0-201505190955.tgz
        gnuarmeclipse-openocd-debian64-0.9.0-201505190955.tgz
        gnuarmeclipse-openocd-osx-0.9.0-201505191024.pkg

The same script also runs on GNU/Linux, just that it does not create the OS X 
package.

The Windows setup packages (32/64-bits) are built with MinGW-w64 running in a 
Debian 8 container. The GNU/Linux archives (32/64-bits) are built using 
separate 32/64-bits Debian 7 containers. The OS X package is built natively on 
OS X, using some MacPorts tools.

The Docker images used for the build are publicly available on the Docker Hub 
(https://registry.hub.docker.com/repos/ilegeul/), and the scripts used to 
create them are on GitHub (The Dockerfiles used to create these images are 
available from [GitHub](https://github.com/ilg-ul/docker).

$ docker images
REPOSITORY          TAG                 IMAGE ID            CREATED             
VIRTUAL SIZE
ilegeul/debian      8-gnuarm-mingw      b8261b27add4        3 minutes ago       
2.692 GB
ilegeul/debian      8-gnuarm-gcc        ba65c1716b6e        12 minutes ago      
1.437 GB
ilegeul/debian      7-gnuarm-gcc        16b30d6a4244        32 minutes ago      
1.6 GB
ilegeul/debian32    7-gnuarm-gcc        2e416e412fad        43 minutes ago      
1.596 GB
ilegeul/debian      7                   a4ad8e2c6d76        4 days ago          
96.13 MB
ilegeul/debian32    7                   64980af805ad        4 days ago          
93.65 MB
debian              8                   65688f7c61c4        6 weeks ago         
122.8 MB
hello-world         latest              e45a5af57b00        4 months ago        
910 B

The current build procedure is documented at:

        http://gnuarmeclipse.livius.net/wiki/How_to_build_OpenOCD

The script itself is available at (I apologise for the moments when SourceForge 
is not available):

        
https://sourceforge.net/p/gnuarmeclipse/se/ci/develop/tree/scripts/build-openocd.sh


Regards,

Liviu


p.s. For those not used with Docker (https://www.docker.com), it is a 
remarkable technology providing a lighter alternative to virtual machines; the 
concept is focused on modularity ("one container, one process") and sand-boxing 
(multiple read-only layers, that can be easily created and disposed). This 
provides, among other things, a controlled and reproducible environment, ideal 
for builds, especially multi-platform builds.

Highly recommended!
------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
OpenOCD-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openocd-devel

Reply via email to