summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-17 11:09:10 -0600
committermo khan <mo.khan@gmail.com>2020-06-17 11:09:10 -0600
commit80f4728d4c8627f522c3bb9ec792ed3ad8d54886 (patch)
treec210f73592153930c16da28f7fd7aa1820d723ab
parent61a904a93cc1779a7c738f5e3d9653a42489ede1 (diff)
Build many rubies
-rw-r--r--config/projects/asdf.rb13
-rw-r--r--config/software/asdf-ruby-2-4-10.rb38
-rw-r--r--config/software/asdf-ruby-2-4-5.rb38
-rw-r--r--config/software/asdf-ruby-2-5-8.rb38
-rw-r--r--config/software/asdf-ruby-2-6-0.rb38
-rw-r--r--config/software/asdf-ruby-2-6-1.rb38
-rw-r--r--config/software/asdf-ruby-2-6-2.rb38
-rw-r--r--config/software/asdf-ruby-2-6-3.rb38
-rw-r--r--config/software/asdf-ruby-2-6-4.rb38
-rw-r--r--config/software/asdf-ruby-2-6-5.rb38
-rw-r--r--config/software/asdf-ruby-2-6-6.rb38
-rw-r--r--config/software/asdf-ruby-2-7-0.rb38
-rw-r--r--config/software/asdf-ruby-2-7-1.rb38
13 files changed, 468 insertions, 1 deletions
diff --git a/config/projects/asdf.rb b/config/projects/asdf.rb
index 1d7c0f8..0351464 100644
--- a/config/projects/asdf.rb
+++ b/config/projects/asdf.rb
@@ -17,7 +17,18 @@ build_iteration 1
# Creates required build directories
dependency "preparation"
-dependency "asdf-ruby"
+dependency "asdf-ruby-2-4-5"
+dependency "asdf-ruby-2-4-10"
+dependency "asdf-ruby-2-5-8"
+dependency "asdf-ruby-2-6-0"
+dependency "asdf-ruby-2-6-1"
+dependency "asdf-ruby-2-6-2"
+dependency "asdf-ruby-2-6-3"
+dependency "asdf-ruby-2-6-4"
+dependency "asdf-ruby-2-6-5"
+dependency "asdf-ruby-2-6-6"
+dependency "asdf-ruby-2-7-0"
+dependency "asdf-ruby-2-7-1"
# asdf dependencies/components
# dependency "somedep"
diff --git a/config/software/asdf-ruby-2-4-10.rb b/config/software/asdf-ruby-2-4-10.rb
new file mode 100644
index 0000000..f407924
--- /dev/null
+++ b/config/software/asdf-ruby-2-4-10.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-4-10"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.4.10"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-#{version}.tar.gz", sha256: '93d06711795bfb76dbe7e765e82cdff3ddf9d82eff2a1f24dead9bb506eaf2d0'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-4-5.rb b/config/software/asdf-ruby-2-4-5.rb
new file mode 100644
index 0000000..1503c7a
--- /dev/null
+++ b/config/software/asdf-ruby-2-4-5.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-4-5"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.4.5"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.4/ruby-#{version}.tar.gz", sha256: '6737741ae6ffa61174c8a3dcdd8ba92bc38827827ab1d7ea1ec78bc3cefc5198'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-5-8.rb b/config/software/asdf-ruby-2-5-8.rb
new file mode 100644
index 0000000..61e1cba
--- /dev/null
+++ b/config/software/asdf-ruby-2-5-8.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-5-8"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.5.8"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.5/ruby-#{version}.tar.gz", sha256: '6c0bdf07876c69811a9e7dc237c43d40b1cb6369f68e0e17953d7279b524ad9a'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-0.rb b/config/software/asdf-ruby-2-6-0.rb
new file mode 100644
index 0000000..3fc9864
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-0.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-0"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.0"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: 'f3c35b924a11c88ff111f0956ded3cdc12c90c04b72b266ac61076d3697fc072'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-1.rb b/config/software/asdf-ruby-2-6-1.rb
new file mode 100644
index 0000000..6cb285f
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-1.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-1"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.1"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: "17024fb7bb203d9cf7a5a42c78ff6ce77140f9d083676044a7db67f1e5191cb8"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-2.rb b/config/software/asdf-ruby-2-6-2.rb
new file mode 100644
index 0000000..b813796
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-2.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-2"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.2"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: "a0405d2bf2c2d2f332033b70dff354d224a864ab0edd462b7a413420453b49ab"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-3.rb b/config/software/asdf-ruby-2-6-3.rb
new file mode 100644
index 0000000..6c0f786
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-3.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-3"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.3"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: "577fd3795f22b8d91c1d4e6733637b0394d4082db659fccf224c774a2b1c82fb"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-4.rb b/config/software/asdf-ruby-2-6-4.rb
new file mode 100644
index 0000000..6fb48e6
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-4.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-4"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.4"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: '4fc1d8ba75505b3797020a6ffc85a8bcff6adc4dabae343b6572bf281ee17937'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-5.rb b/config/software/asdf-ruby-2-6-5.rb
new file mode 100644
index 0000000..787f052
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-5.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-5"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.5"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: '66976b716ecc1fd34f9b7c3c2b07bbd37631815377a2e3e85a5b194cfdcbed7d'
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-6-6.rb b/config/software/asdf-ruby-2-6-6.rb
new file mode 100644
index 0000000..13559e2
--- /dev/null
+++ b/config/software/asdf-ruby-2-6-6.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-6-6"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.6.6"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.6/ruby-#{version}.tar.gz", sha256: "364b143def360bac1b74eb56ed60b1a0dca6439b00157ae11ff77d5cd2e92291"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-7-0.rb b/config/software/asdf-ruby-2-7-0.rb
new file mode 100644
index 0000000..315e6b4
--- /dev/null
+++ b/config/software/asdf-ruby-2-7-0.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-7-0"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.7.0"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-#{version}.tar.gz", sha256: "8c99aa93b5e2f1bc8437d1bbbefd27b13e7694025331f77245d0c068ef1f8cbe"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end
diff --git a/config/software/asdf-ruby-2-7-1.rb b/config/software/asdf-ruby-2-7-1.rb
new file mode 100644
index 0000000..c546faf
--- /dev/null
+++ b/config/software/asdf-ruby-2-7-1.rb
@@ -0,0 +1,38 @@
+name "asdf-ruby-2-7-1"
+
+license "BSD-2-Clause"
+license_file "BSDL"
+license_file "COPYING"
+license_file "LEGAL"
+skip_transitive_dependency_licensing true
+
+default_version "2.7.1"
+source url: "https://cache.ruby-lang.org/pub/ruby/2.7/ruby-#{version}.tar.gz", sha256: "d418483bdd0000576c1370571121a6eb24582116db0b7bb2005e90e250eae418"
+relative_path "ruby-#{version}"
+
+dependency "zlib"
+dependency "openssl"
+dependency "libffi"
+dependency "libyaml"
+
+env = with_standard_compiler_flags(with_embedded_path)
+env["CFLAGS"] << " -O3 -g -pipe"
+
+build do
+ configure_command = [
+ "--disable-dtrace",
+ "--disable-install-doc",
+ "--disable-install-rdoc",
+ "--disable-jit-support",
+ "--enable-shared",
+ "--prefix=#{install_dir}/installs/ruby/#{version}",
+ "--with-out-ext=dbm,readline",
+ "--without-gdbm",
+ "--without-gmp",
+ "--without-valgrind",
+ "--without-tk",
+ ]
+ configure(*configure_command, env: env)
+ make "-j #{workers}", env: env
+ make "-j #{workers} install", env: env
+end