The unpac monorepo manager self-hosting as a monorepo using unpac

Merge pull request #45 from hannesm/no-xen

remove mirage-xen-posix cross-compilation rule (unneeded since mirage-xen 6.0.0)

authored by

Spiros Eliopoulos and committed by
GitHub
700f5b73 3b5e532e

+53 -49
+6 -3
vendor/opam/bigstringaf/.travis.yml
··· 8 8 matrix: 9 9 - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.03" 10 10 - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.04" 11 - - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.05" DEPOPTS="mirage-xen-posix" 12 - - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.06" DEPOPTS="ocaml-freestanding" 13 - - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.07" DEPOPTS="ocaml-freestanding" 11 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.05" 12 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.06" 13 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.07" 14 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.08" 15 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.09" DEPOPTS="ocaml-freestanding" 16 + - PACKAGE="bigstringaf" DISTRO="ubuntu-16.04" OCAML_VERSION="4.10" DEPOPTS="ocaml-freestanding"
+2 -3
vendor/opam/bigstringaf/META.bigstringaf.template
··· 1 - # JBUILDER_GEN 1 + # DUNE_GEN 2 2 3 - xen_linkopts = "-l:xen/libbigstringaf_xen_stubs.a" 4 - freestanding_linkopts = "-l:freestanding/libbigstringaf_freestanding_stubs.a" 3 + freestanding_linkopts = "-l:libbigstringaf_freestanding_stubs.a"
+3 -3
vendor/opam/bigstringaf/bigstringaf.opam
··· 11 11 ["dune" "runtest" "-p" name] {with-test} 12 12 ] 13 13 depends: [ 14 - "dune" {build} 14 + "dune" {>= "2.6.0"} 15 15 "alcotest" {with-test} 16 16 "bigarray-compat" 17 17 "ocaml" {>= "4.03.0"} 18 + "conf-pkg-config" {build} 18 19 ] 19 20 depopts: [ 20 - "mirage-xen-posix" 21 21 "ocaml-freestanding" 22 22 ] 23 23 conflicts: [ 24 - "mirage-xen-posix" {< "3.1.0"} 24 + "mirage-xen" {< "6.0.0"} 25 25 "ocaml-freestanding" {< "0.4.1"} 26 26 "js_of_ocaml" {< "3.5.0"} 27 27 ]
+1 -1
vendor/opam/bigstringaf/dune-project
··· 1 - (lang dune 1.0) 1 + (lang dune 2.6) 2 2 (name bigstringaf)
+4 -2
vendor/opam/bigstringaf/lib/dune
··· 4 4 (libraries bigarray-compat) 5 5 (flags (:standard -safe-string)) 6 6 7 - (c_names bigstringaf_stubs) 8 - (c_flags (:standard -Wall -Wextra -Wpedantic)) 7 + (foreign_stubs 8 + (language c) 9 + (names bigstringaf_stubs) 10 + (flags (:standard -Wall -Wextra -Wpedantic))) 9 11 10 12 (js_of_ocaml (javascript_files runtime.js)) 11 13 )
+23
vendor/opam/bigstringaf/lib/freestanding/Makefile
··· 1 + PKG_CONFIG_PATH := $(shell opam config var prefix)/lib/pkgconfig 2 + 3 + EXISTS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --exists ocaml-freestanding; echo $$?) 4 + 5 + .PHONY: all clean 6 + all: libbigstringaf_freestanding_stubs.a 7 + 8 + ifeq ($(EXISTS), 1) 9 + libbigstringaf_freestanding_stubs.a: 10 + touch $@ 11 + else 12 + CC ?= cc 13 + FREESTANDING_CFLAGS := $(shell PKG_CONFIG_PATH=$(PKG_CONFIG_PATH) pkg-config --cflags ocaml-freestanding) 14 + CFLAGS := -O3 $(FREESTANDING_CFLAGS) 15 + 16 + OBJS=bigstringaf_stubs.o 17 + 18 + libbigstringaf_freestanding_stubs.a: $(OBJS) 19 + $(AR) r $@ $^ 20 + endif 21 + 22 + clean: 23 + $(RM) $(OBJS) libbigstringaf_freestanding_stubs.a
-4
vendor/opam/bigstringaf/lib/freestanding/cflags.sh
··· 1 - #!/bin/sh 2 - export PKG_CONFIG_PATH="$(opam config var lib)/pkgconfig" 3 - flags="$(pkg-config --static ocaml-freestanding --cflags)" 4 - echo "($flags)"
+11 -9
vendor/opam/bigstringaf/lib/freestanding/dune
··· 1 - (library 2 - (name bigstringaf_freestanding) 3 - (public_name bigstringaf.freestanding) 4 - (optional) 5 - (libraries bigarray-compat ocaml-freestanding) 6 - (c_names bigstringaf_stubs) 7 - (c_flags (:include cflags.sexp))) 1 + (copy_files# ../bigstringaf_stubs.c) 8 2 9 - (rule (copy# ../bigstringaf_stubs.c bigstringaf_stubs.c)) 3 + (rule 4 + (deps Makefile bigstringaf_stubs.c) 5 + (targets libbigstringaf_freestanding_stubs.a) 6 + (action 7 + (no-infer 8 + (progn 9 + (run %{make}))))) 10 10 11 - (rule (with-stdout-to cflags.sexp (run ./cflags.sh))) 11 + (install 12 + (section lib) 13 + (files libbigstringaf_freestanding_stubs.a))
-4
vendor/opam/bigstringaf/lib/xen/cflags.sh
··· 1 - #!/bin/sh 2 - export PKG_CONFIG_PATH="$(opam config var lib)/pkgconfig" 3 - flags="$(pkg-config --static mirage-xen-posix --cflags)" 4 - echo "($flags)"
-11
vendor/opam/bigstringaf/lib/xen/dune
··· 1 - (library 2 - (name bigstringaf_xen) 3 - (public_name bigstringaf.xen) 4 - (optional) 5 - (libraries bigarray-compat mirage-xen-posix) 6 - (c_names bigstringaf_stubs) 7 - (c_flags (:include cflags.sexp))) 8 - 9 - (rule (copy# ../bigstringaf_stubs.c bigstringaf_stubs.c)) 10 - 11 - (rule (with-stdout-to cflags.sexp (run ./cflags.sh)))
+3 -9
vendor/opam/bigstringaf/lib_test/dune
··· 1 - (executables 1 + (test 2 + (name test_bigstringaf) 2 3 (libraries alcotest bigstringaf) 3 - (modules test_bigstringaf s) 4 - (names test_bigstringaf)) 5 - 6 - (alias 7 - (name runtest) 8 - (package bigstringaf) 9 - (deps (:test test_bigstringaf.exe)) 10 - (action (run %{test}))) 4 + (modules test_bigstringaf s))