Skip to content
This repository was archived by the owner on Dec 4, 2023. It is now read-only.

Commit 77dcc0e

Browse files
committed
Build automation fixes
1 parent f0c096d commit 77dcc0e

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

Rakefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,9 +117,10 @@ task :repack, [:gemfile, :new_arch] do |t, args|
117117
sh "gem unpack #{args[:gemfile]} --target=#{dir}"
118118
sh "gem spec #{args[:gemfile]} --ruby > #{dir}/repack.gemspec"
119119
Dir.chdir(dir) do
120-
sh "sed -i 's/^ s.platform = .*$/ s.platform = \"#{args[:new_arch]}\".freeze/' repack.gemspec"
120+
sh "sed -iorig 's/^ s.platform = .*$/ s.platform = \"#{args[:new_arch]}\".freeze/' repack.gemspec"
121121
Dir.chdir(Dir.glob("libv8-*/").first) do
122-
sh 'gem build ../repack.gemspec'
122+
sh 'mv ../repack.gemspec ./'
123+
sh 'gem build repack.gemspec'
123124
end
124125
end
125126

release/x86-linux/Vagrantfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +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.memory = "2048"
58+
vb.memory = "4096"
5959
vb.cpus = 4
6060
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
6161
vb.customize ["modifyvm", :id, "--audio", "none"]

release/x86_64-linux/Vagrantfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ 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
59-
vb.memory = "2048"
58+
vb.cpus = 8
59+
vb.memory = "4096"
6060
vb.customize ["modifyvm", :id, "--hwvirtex", "on"]
6161
vb.customize ["modifyvm", :id, "--audio", "none"]
6262
vb.customize ["modifyvm", :id, "--nictype1", "virtio"]

0 commit comments

Comments
 (0)