Revision 784c73ef72d9243da8ddc8fa1338318467d76011 authored by Killian Delarue on 02 February 2024, 16:01:56 UTC, committed by Killian Delarue on 02 February 2024, 16:01:56 UTC
Co-authored-by: Chris Pinnock <chris_pinnock@mac.com> Approved-by: pietro <pietro.abate@nomadic-labs.com> Approved-by: Arvid Jakobsson <arvid.jakobsson@nomadic-labs.com> Approved-by: Killian Delarue <killian.delarue@nomadic-labs.com> See merge request https://gitlab.com/tezos/tezos/-/merge_requests/11680
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 '()'"))))
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...