mirror of
https://github.com/rubyjs/libv8
synced 2023-03-27 23:21:48 -04:00
Make the binary compilation even more automated
This commit is contained in:
parent
6437880a3b
commit
2c609670d9
7 changed files with 16 additions and 7 deletions
9
Rakefile
9
Rakefile
|
|
@ -7,13 +7,13 @@ RSpec::Core::RakeTask.new :spec
|
|||
DISTRIBUTIONS = [
|
||||
'x86_64-linux',
|
||||
'x86-linux',
|
||||
'x86_64-linux-musl',
|
||||
'x86_64-freebsd-10',
|
||||
'x86_64-freebsd-11',
|
||||
'amd64-freebsd-10',
|
||||
'amd64-freebsd-11',
|
||||
'arm-linux',
|
||||
'aarch64-linux'
|
||||
# 'aarch64-linux', # Enable for V8 6
|
||||
# 'x86_64-linux-musl'
|
||||
]
|
||||
|
||||
module Helpers
|
||||
|
|
@ -88,7 +88,10 @@ namespace :build do
|
|||
end
|
||||
|
||||
desc "Build binary gems for all supported distributions"
|
||||
task :binary_release => DISTRIBUTIONS.map {|distribution| "build:#{distribution}"}
|
||||
task :binary_release => [:build] + DISTRIBUTIONS.map {|distribution| "build:#{distribution}"} do
|
||||
sh "cd #{File.dirname(__FILE__)} && mkdir -p pkg"
|
||||
sh "cd #{File.dirname(__FILE__)} && mv release/**/*.gem pkg/"
|
||||
end
|
||||
|
||||
task :clean_submodules do
|
||||
sh "git submodule --quiet foreach git reset --hard"
|
||||
|
|
|
|||
3
release/amd64-freebsd-10/Vagrantfile
vendored
3
release/amd64-freebsd-10/Vagrantfile
vendored
|
|
@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
|
|||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://atlas.hashicorp.com/search.
|
||||
config.vm.box = "freebsd/FreeBSD-10.3-RELEASE"
|
||||
config.vm.box = "freebsd/FreeBSD-10.3-STABLE"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
|
|
@ -61,6 +61,7 @@ Vagrant.configure(2) do |config|
|
|||
config.vm.base_mac = "080027D14C66"
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.cpus = 4
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
|
|
|||
3
release/amd64-freebsd-11/Vagrantfile
vendored
3
release/amd64-freebsd-11/Vagrantfile
vendored
|
|
@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
|
|||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://atlas.hashicorp.com/search.
|
||||
config.vm.box = "freebsd/FreeBSD-11.0-RELEASE-p1"
|
||||
config.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
|
|
@ -61,6 +61,7 @@ Vagrant.configure(2) do |config|
|
|||
config.vm.base_mac = "080027D14C66"
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.cpus = 4
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
|
|
|||
1
release/x86-linux/Vagrantfile
vendored
1
release/x86-linux/Vagrantfile
vendored
|
|
@ -56,6 +56,7 @@ Vagrant.configure(2) do |config|
|
|||
# information on available options.
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.cpus = 4
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
|
|
|||
3
release/x86_64-freebsd-10/Vagrantfile
vendored
3
release/x86_64-freebsd-10/Vagrantfile
vendored
|
|
@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
|
|||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://atlas.hashicorp.com/search.
|
||||
config.vm.box = "freebsd/FreeBSD-10.3-RELEASE"
|
||||
config.vm.box = "freebsd/FreeBSD-10.3-STABLE"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
|
|
@ -65,6 +65,7 @@ Vagrant.configure(2) do |config|
|
|||
config.vm.base_mac = "080027D14C66"
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.cpus = 4
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
|
|
|||
3
release/x86_64-freebsd-11/Vagrantfile
vendored
3
release/x86_64-freebsd-11/Vagrantfile
vendored
|
|
@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
|
|||
|
||||
# Every Vagrant development environment requires a box. You can search for
|
||||
# boxes at https://atlas.hashicorp.com/search.
|
||||
config.vm.box = "freebsd/FreeBSD-11.0-RELEASE-p1"
|
||||
config.vm.box = "freebsd/FreeBSD-11.1-RELEASE"
|
||||
|
||||
# Disable automatic box update checking. If you disable this, then
|
||||
# boxes will only be checked for updates when the user runs
|
||||
|
|
@ -65,6 +65,7 @@ Vagrant.configure(2) do |config|
|
|||
config.vm.base_mac = "080027D14C66"
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.memory = "2048"
|
||||
vb.cpus = 4
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]
|
||||
|
|
|
|||
1
release/x86_64-linux/Vagrantfile
vendored
1
release/x86_64-linux/Vagrantfile
vendored
|
|
@ -55,6 +55,7 @@ Vagrant.configure(2) do |config|
|
|||
# View the documentation for the provider you are using for more
|
||||
# information on available options.
|
||||
config.vm.provider :virtualbox do |vb|
|
||||
vb.cpus = 4
|
||||
vb.memory = "2048"
|
||||
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
|
||||
vb.customize ["modifyvm", :id, "--audio", "none"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue