This file contains 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
ruby_block "sync_build_from_s3" do | |
action :nothing | |
block do | |
# latest_file contains path to the latest.txt, which lists files to sync | |
file = File.new(latest_file, "r"); | |
run_context = Chef::RunContext.new(node, node.run_context.cookbook_collection, node.run_context.events) | |
# | |
# Create the directory to hold the new build files | |
# |
This file contains 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
#!/bin/bash | |
# number of threads to use for compilation | |
export THREADS=4 | |
mkdir toolchain | |
cd toolchain | |
# grab sources | |
wget ftp://sources.redhat.com/pub/newlib/newlib-1.20.0.tar.gz |