depend on atomic shims, vendor them

This commit is contained in:
Simon Cruanes 2022-03-21 15:20:20 -04:00
parent a00d4d2383
commit c030bf9c21
No known key found for this signature in database
GPG key ID: EBFFF6F283F3A2B4
5 changed files with 9 additions and 0 deletions

3
.gitmodules vendored
View file

@ -1,3 +1,6 @@
[submodule "vendor/opentelemetry-proto"]
path = vendor/opentelemetry-proto
url = https://github.com/open-telemetry/opentelemetry-proto
[submodule "vendor/atomic"]
path = vendor/atomic
url = https://github.com/c-cube/ocaml-atomic.git

View file

@ -38,6 +38,8 @@
(depends
(ocaml (>= "4.08"))
(dune (>= "2.3"))
mtime
atomic
(opentelemetry (= :version))
(ocaml-protoc (>= 2.1))
(odoc :with-doc)

View file

@ -10,6 +10,8 @@ bug-reports:
depends: [
"ocaml" {>= "4.08"}
"dune" {>= "2.3"}
"mtime"
"atomic"
"opentelemetry" {= version}
"ocaml-protoc" {>= "2.1"}
"odoc" {with-doc}

1
vendor/atomic vendored Submodule

@ -0,0 +1 @@
Subproject commit 7802992a568bf86c940e1c08a208e85102a0df6b

1
vendor/dune vendored Normal file
View file

@ -0,0 +1 @@
(vendored_dirs atomic)