https://gitlab.com/tezos/tezos
Revision 8e2f20786b455f51bfcb7723742a8b7276482b1d authored by François Thiré on 26 August 2023, 16:01:01 UTC, committed by François Thiré on 26 August 2023, 16:01:01 UTC
1 parent 2d8b5ee
Raw File
Tip revision: 8e2f20786b455f51bfcb7723742a8b7276482b1d authored by François Thiré on 26 August 2023, 16:01:01 UTC
[WIP] Modify the DAL scenario with the new job
Tip revision: 8e2f207
dune
(vendored_dirs vendors)
(data_only_dirs _opam-repo-for-release)
(env
 (_
  (binaries (%{workspace_root}/src/tooling/node_wrapper.exe as node))))

; This file is included in the link_flags stanza of binaries for which
; we want a static build.
; If the current dune profile is "static", it contains the flag
; telling the compiler to compile static executables.
; Else it contains no flags.
(rule
 (target static-link-flags.sexp)
 (action (with-stdout-to %{target}
  (system "[ '%{profile}' = 'static' ] && echo '(-ccopt -static -cclib -lusb-1.0 -cclib -ludev)' || echo '()'"))))

; This file is included in the link_flags stanza of binaries and static libraries
; for which we should include -ccopt "-framework Security" on macOS.
(rule
 (target macos-link-flags.sexp)
 (action (with-stdout-to %{target}
  (system "[ '%{system}' = 'macosx' ] && echo '(-ccopt \"-framework Security\")' || echo '()'"))))
back to top