https://gitlab.com/tezos/tezos
Raw File
Tip revision: 6bada4051d47e3c281daef4f718d631d555143e1 authored by Danny Willems on 09 July 2023, 15:35:33 UTC
Bls12_381_hash: Anemoi update test vectors
Tip revision: 6bada40
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