Skip to content

Commit

Permalink
Merge pull request #9147 from AltGr/no-debug-hack
Browse files Browse the repository at this point in the history
Remove debug hack from compiler definitions
  • Loading branch information
avsm authored May 12, 2017
2 parents 116c509 + 291c22d commit db1dfc3
Show file tree
Hide file tree
Showing 42 changed files with 221 additions and 106 deletions.
33 changes: 30 additions & 3 deletions compilers/4.03.0/4.03.0+32bit/4.03.0+32bit.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,36 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -m32" "-as" "as --32" "-aspp" "gcc -m32 -c" "-host" "i386-linux" "-partialld" "ld -r -melf_i386"] {os = "linux"}
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" "-as" "as -arch i386" "-aspp" "gcc -arch i386 -m32 -c" "-host" "i386-apple-darwin13.2.0"] {os = "darwin"}
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-cc"
"gcc -m32"
"-as"
"as --32"
"-aspp"
"gcc -m32 -c"
"-host"
"i386-linux"
"-partialld"
"ld -r -melf_i386"
] {os = "linux"}
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-cc"
"gcc -Wl,-read_only_relocs,suppress -arch i386 -m32"
"-as"
"as -arch i386"
"-aspp"
"gcc -arch i386 -m32 -c"
"-host"
"i386-apple-darwin13.2.0"
] {os = "darwin"}
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03.0+beta1"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0+beta1/4.03.0+beta1.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03.0+beta1"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0+beta2+flambda"
src: "https://github.com/ocaml/ocaml/tarball/4.03.0+beta2"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0+beta2/4.03.0+beta2.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://codeload.github.com/ocaml/ocaml/legacy.tar.gz/4.03.0+beta2"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
13 changes: 10 additions & 3 deletions compilers/4.03.0/4.03.0+fPIC/4.03.0+fPIC.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-cc" "cc -fPIC" "-aspp" "cc -c -fPIC" "-prefix" prefix "-with-debug-runtime"]
[
"./configure"
"-cc"
"cc -fPIC"
"-aspp"
"cc -c -fPIC"
"-prefix"
prefix
"-with-debug-runtime"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0+flambda/4.03.0+flambda.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
11 changes: 8 additions & 3 deletions compilers/4.03.0/4.03.0+fp+flambda/4.03.0+fp+flambda.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers" "-flambda"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
"-flambda"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
10 changes: 7 additions & 3 deletions compilers/4.03.0/4.03.0+fp/4.03.0+fp.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0+termux/4.03.0+termux.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["sh" "./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers" "-flambda"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
"-flambda"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
10 changes: 7 additions & 3 deletions compilers/4.03.0/4.03.0+trunk+fp/4.03.0+trunk+fp.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0+trunk/4.03.0+trunk.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/tarball/4.03"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.03.0/4.03.0/4.03.0.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.03.0"
src: "https://github.com/ocaml/ocaml/archive/4.03.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
34 changes: 30 additions & 4 deletions compilers/4.04.0/4.04.0+32bit/4.04.0+32bit.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,36 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -m32" "-as" "as --32" "-aspp" "gcc -m32 -c" "-host" "i386-linux" "-partialld" "ld -r -melf_i386"] {os = "linux"}
["./configure" "-prefix" prefix "-with-debug-runtime" "-cc" "gcc -Wl,-read_only_relocs,suppress -arch i386 -m32" "-as" "as -arch i386" "-aspp" "gcc -arch i386 -m32 -c" "-host" "i386-apple-darwin13.2.0"] {os = "darwin"}
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-cc"
"gcc -m32"
"-as"
"as --32"
"-aspp"
"gcc -m32 -c"
"-host"
"i386-linux"
"-partialld"
"ld -r -melf_i386"
] {os = "linux"}
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-cc"
"gcc -Wl,-read_only_relocs,suppress -arch i386 -m32"
"-as"
"as -arch i386"
"-aspp"
"gcc -arch i386 -m32 -c"
"-host"
"i386-apple-darwin13.2.0"
] {os = "darwin"}
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-no-native-compiler"]
[
"./configure" "-prefix" prefix "-with-debug-runtime" "-no-native-compiler"
]
[make "world"]
[make "install"]
]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.04.0/4.04.0+copatterns/4.04.0+copatterns.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/yurug/ocaml4.04.0-copatterns/archive/V0.3.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
13 changes: 10 additions & 3 deletions compilers/4.04.0/4.04.0+fPIC/4.04.0+fPIC.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,16 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-cc" "cc -fPIC" "-aspp" "cc -c -fPIC" "-prefix" prefix "-with-debug-runtime"]
[
"./configure"
"-cc"
"cc -fPIC"
"-aspp"
"cc -c -fPIC"
"-prefix"
prefix
"-with-debug-runtime"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.04.0/4.04.0+flambda/4.04.0+flambda.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
11 changes: 8 additions & 3 deletions compilers/4.04.0/4.04.0+fp+flambda/4.04.0+fp+flambda.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,14 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers" "-flambda"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
"-flambda"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
10 changes: 7 additions & 3 deletions compilers/4.04.0/4.04.0+fp/4.04.0+fp.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,13 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-with-frame-pointers"]
[
"./configure"
"-prefix"
prefix
"-with-debug-runtime"
"-with-frame-pointers"
]
[make "world"]
[make "world.opt"]
[make "install"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.04.0/4.04.0+spacetime/4.04.0+spacetime.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime" "-spacetime"]
[make "world"]
[make "world.opt"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.04.0/4.04.0+termux/4.04.0+termux.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["sh" "./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,11 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/chambart/ocaml-1/archive/lto.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : lto = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
[
"sh"
"-exc"
"echo \"* : lto = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"
]
["./configure" "-prefix" prefix "-with-debug-runtime" "-flambda"]
[make "world"]
[make "world.opt"]
Expand Down
2 changes: 0 additions & 2 deletions compilers/4.04.0/4.04.0/4.04.0.comp
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ opam-version: "1"
version: "4.04.0"
src: "https://github.com/ocaml/ocaml/archive/4.04.0.tar.gz"
build: [
["mkdir" "-p" "%{lib}%/ocaml/"]
["sh" "-exc" "echo \"* : g = 1\" > %{lib}%/ocaml/ocaml_compiler_internal_params"]
["./configure" "-prefix" prefix "-with-debug-runtime"]
[make "world"]
[make "world.opt"]
Expand Down
Loading

0 comments on commit db1dfc3

Please sign in to comment.