File tree 8 files changed +33
-14
lines changed
8 files changed +33
-14
lines changed Original file line number Diff line number Diff line change 6
6
(executable
7
7
(name rescript_main)
8
8
(public_name rescript)
9
+ (enabled_if
10
+ (<> %{profile} browser))
9
11
(flags
10
12
(:standard -w +a-4-9-40-41-42-70))
11
13
(libraries bsb common ext str unix))
Original file line number Diff line number Diff line change 6
6
(executable
7
7
(name bsb_helper_main)
8
8
(public_name bsb_helper)
9
+ (enabled_if
10
+ (<> %{profile} browser))
9
11
(flags
10
12
(:standard -w +a-9-40-42))
11
13
(libraries bsb_helper))
Original file line number Diff line number Diff line change 14
14
(static
15
15
(env-vars
16
16
(CPPO_FLAGS -D=RELEASE))
17
+ (ocamlopt_flags
18
+ (:standard -O3 -unbox-closures)))
19
+ (browser
20
+ (env-vars
21
+ (CPPO_FLAGS -D=BROWSER))
17
22
(ocamlopt_flags
18
23
(:standard -O3 -unbox-closures))))
Original file line number Diff line number Diff line change 1
1
; Don't build the JS compiler by default as it slows down CI considerably.
2
2
3
- ; (executables
4
- ; (names jsoo_main jsoo_playground_main)
5
- ; (modes js)
6
- ; (flags
7
- ; (:standard -w +a-4-9-40-42-44-45))
8
- ; (libraries core ml super_errors))
3
+ (executables
4
+ (names jsoo_main jsoo_playground_main)
5
+ (modes js)
6
+ (enabled_if
7
+ (= %{profile} browser))
8
+ (flags
9
+ (:standard -w +a-4-9-40-42-44-45))
10
+ (libraries core ml super_errors))
Original file line number Diff line number Diff line change 6
6
(executable
7
7
(name ounit_tests_main)
8
8
(public_name ounit_tests)
9
+ (enabled_if
10
+ (<> %{profile} browser))
9
11
(flags
10
12
(:standard -w +a-4-9-30-40-41-42-48-70))
11
13
(libraries bsb bsb_helper core ounit2))
Original file line number Diff line number Diff line change 7
7
(name benchmark)
8
8
(public_name syntax_benchmarks)
9
9
(enabled_if
10
- (or
11
- (= %{system} macosx)
12
- ; or one of Linuxes (see https://github.com/ocaml/ocaml/issues/10613)
13
- (= %{system} linux)
14
- (= %{system} linux_elf)
15
- (= %{system} elf)
16
- (= %{system} linux_eabihf)
17
- (= %{system} linux_eabi)))
10
+ (and
11
+ (<> %{profile} browser)
12
+ (or
13
+ (= %{system} macosx)
14
+ ; or one of Linuxes (see https://github.com/ocaml/ocaml/issues/10613)
15
+ (= %{system} linux)
16
+ (= %{system} linux_elf)
17
+ (= %{system} elf)
18
+ (= %{system} linux_eabihf)
19
+ (= %{system} linux_eabi))))
18
20
(flags
19
21
(:standard -w +a-4-40-42-70))
20
22
(foreign_stubs
Original file line number Diff line number Diff line change 6
6
(executable
7
7
(name res_cli)
8
8
(public_name res_parser)
9
+ (enabled_if
10
+ (<> %{profile} browser))
9
11
(flags
10
12
(:standard -w +a-4-42-40-9-48-70))
11
13
(libraries syntax))
Original file line number Diff line number Diff line change 6
6
(executable
7
7
(name res_test)
8
8
(public_name syntax_tests)
9
+ (enabled_if
10
+ (<> %{profile} browser))
9
11
(flags
10
12
(:standard -w +a-40-42-70))
11
13
(libraries syntax core))
You can’t perform that action at this time.
0 commit comments