This repository was archived by the owner on Dec 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,13 +7,13 @@ RSpec::Core::RakeTask.new :spec
77DISTRIBUTIONS = [
88 'x86_64-linux' ,
99 'x86-linux' ,
10- 'x86_64-linux-musl' ,
1110 'x86_64-freebsd-10' ,
1211 'x86_64-freebsd-11' ,
1312 'amd64-freebsd-10' ,
1413 'amd64-freebsd-11' ,
1514 'arm-linux' ,
16- 'aarch64-linux'
15+ # 'aarch64-linux', # Enable for V8 6
16+ # 'x86_64-linux-musl'
1717]
1818
1919module Helpers
@@ -88,7 +88,10 @@ namespace :build do
8888end
8989
9090desc "Build binary gems for all supported distributions"
91- task :binary_release => DISTRIBUTIONS . map { |distribution | "build:#{ distribution } " }
91+ task :binary_release => [ :build ] + DISTRIBUTIONS . map { |distribution | "build:#{ distribution } " } do
92+ sh "cd #{ File . dirname ( __FILE__ ) } && mkdir -p pkg"
93+ sh "cd #{ File . dirname ( __FILE__ ) } && mv release/**/*.gem pkg/"
94+ end
9295
9396task :clean_submodules do
9497 sh "git submodule --quiet foreach git reset --hard"
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
1212
1313 # Every Vagrant development environment requires a box. You can search for
1414 # boxes at https://atlas.hashicorp.com/search.
15- config . vm . box = "freebsd/FreeBSD-10.3-RELEASE "
15+ config . vm . box = "freebsd/FreeBSD-10.3-STABLE "
1616
1717 # Disable automatic box update checking. If you disable this, then
1818 # boxes will only be checked for updates when the user runs
@@ -61,6 +61,7 @@ Vagrant.configure(2) do |config|
6161 config . vm . base_mac = "080027D14C66"
6262 config . vm . provider :virtualbox do |vb |
6363 vb . memory = "2048"
64+ vb . cpus = 4
6465 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6566 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
6667 vb . customize [ "modifyvm" , :id , "--nictype1" , "virtio" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
1212
1313 # Every Vagrant development environment requires a box. You can search for
1414 # boxes at https://atlas.hashicorp.com/search.
15- config . vm . box = "freebsd/FreeBSD-11.0 -RELEASE-p1 "
15+ config . vm . box = "freebsd/FreeBSD-11.1 -RELEASE"
1616
1717 # Disable automatic box update checking. If you disable this, then
1818 # boxes will only be checked for updates when the user runs
@@ -61,6 +61,7 @@ Vagrant.configure(2) do |config|
6161 config . vm . base_mac = "080027D14C66"
6262 config . vm . provider :virtualbox do |vb |
6363 vb . memory = "2048"
64+ vb . cpus = 4
6465 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6566 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
6667 vb . customize [ "modifyvm" , :id , "--nictype1" , "virtio" ]
Original file line number Diff line number Diff line change @@ -56,6 +56,7 @@ Vagrant.configure(2) do |config|
5656 # information on available options.
5757 config . vm . provider :virtualbox do |vb |
5858 vb . memory = "2048"
59+ vb . cpus = 4
5960 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6061 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
6162 vb . customize [ "modifyvm" , :id , "--nictype1" , "virtio" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
1212
1313 # Every Vagrant development environment requires a box. You can search for
1414 # boxes at https://atlas.hashicorp.com/search.
15- config . vm . box = "freebsd/FreeBSD-10.3-RELEASE "
15+ config . vm . box = "freebsd/FreeBSD-10.3-STABLE "
1616
1717 # Disable automatic box update checking. If you disable this, then
1818 # boxes will only be checked for updates when the user runs
@@ -65,6 +65,7 @@ Vagrant.configure(2) do |config|
6565 config . vm . base_mac = "080027D14C66"
6666 config . vm . provider :virtualbox do |vb |
6767 vb . memory = "2048"
68+ vb . cpus = 4
6869 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6970 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
7071 vb . customize [ "modifyvm" , :id , "--nictype1" , "virtio" ]
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ Vagrant.configure(2) do |config|
1212
1313 # Every Vagrant development environment requires a box. You can search for
1414 # boxes at https://atlas.hashicorp.com/search.
15- config . vm . box = "freebsd/FreeBSD-11.0 -RELEASE-p1 "
15+ config . vm . box = "freebsd/FreeBSD-11.1 -RELEASE"
1616
1717 # Disable automatic box update checking. If you disable this, then
1818 # boxes will only be checked for updates when the user runs
@@ -65,6 +65,7 @@ Vagrant.configure(2) do |config|
6565 config . vm . base_mac = "080027D14C66"
6666 config . vm . provider :virtualbox do |vb |
6767 vb . memory = "2048"
68+ vb . cpus = 4
6869 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6970 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
7071 vb . customize [ "modifyvm" , :id , "--nictype1" , "virtio" ]
Original file line number Diff line number Diff line change @@ -55,6 +55,7 @@ Vagrant.configure(2) do |config|
5555 # View the documentation for the provider you are using for more
5656 # information on available options.
5757 config . vm . provider :virtualbox do |vb |
58+ vb . cpus = 4
5859 vb . memory = "2048"
5960 vb . customize [ "modifyvm" , :id , "--hwvirtex" , "on" ]
6061 vb . customize [ "modifyvm" , :id , "--audio" , "none" ]
You can’t perform that action at this time.
0 commit comments