Skip to content

Commit

Permalink
Regroup MS_queue and spsc_queue under their own subdirectory.
Browse files Browse the repository at this point in the history
  • Loading branch information
lyrm committed Sep 9, 2024
1 parent fe0b79c commit be1bf2e
Show file tree
Hide file tree
Showing 16 changed files with 17 additions and 8 deletions.
3 changes: 3 additions & 0 deletions src_lockfree/dune
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ let () =
Jbuild_plugin.V1.send
@@ {|

(include_subdirs unqualified)


(library
(name saturn_lockfree)
(public_name saturn_lockfree)
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
8 changes: 5 additions & 3 deletions test/michael_scott_queue/dune
Original file line number Diff line number Diff line change
@@ -1,19 +1,21 @@
(rule
(action
(copy ../../src_lockfree/michael_scott_queue.ml michael_scott_queue.ml))
(copy
../../src_lockfree/michael_scott_queue/michael_scott_queue.ml
michael_scott_queue.ml))
(package saturn_lockfree))

(rule
(action
(copy
../../src_lockfree/michael_scott_queue_unsafe.ml
../../src_lockfree/michael_scott_queue/michael_scott_queue_unsafe.ml
michael_scott_queue_unsafe.ml))
(package saturn_lockfree))

(rule
(action
(copy
../../src_lockfree/michael_scott_queue_intf.ml
../../src_lockfree/michael_scott_queue/michael_scott_queue_intf.ml
michael_scott_queue_intf.ml))
(package saturn_lockfree))

Expand Down
2 changes: 1 addition & 1 deletion test/michael_scott_queue/ms_queues/dune
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(rule
(action
(copy
../../../src_lockfree/michael_scott_queue_intf.ml
../../../src_lockfree/michael_scott_queue/michael_scott_queue_intf.ml
michael_scott_queue_intf.ml))
(package saturn_lockfree))

Expand Down
8 changes: 5 additions & 3 deletions test/spsc_queue/dune
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
(rule
(action
(copy ../../src_lockfree/spsc_queue.ml spsc_queue.ml))
(copy ../../src_lockfree/spsc_queue/spsc_queue.ml spsc_queue.ml))
(package saturn_lockfree))

(rule
(action
(copy ../../src_lockfree/spsc_queue_unsafe.ml spsc_queue_unsafe.ml))
(copy
../../src_lockfree/spsc_queue/spsc_queue_unsafe.ml
spsc_queue_unsafe.ml))
(package saturn_lockfree))

(rule
(action
(copy ../../src_lockfree/spsc_queue_intf.ml spsc_queue_intf.ml))
(copy ../../src_lockfree/spsc_queue/spsc_queue_intf.ml spsc_queue_intf.ml))
(package saturn_lockfree))

(test
Expand Down
4 changes: 3 additions & 1 deletion test/spsc_queue/spsc_queues/dune
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
(rule
(action
(copy ../../../src_lockfree/spsc_queue_intf.ml spsc_queue_intf.ml))
(copy
../../../src_lockfree/spsc_queue/spsc_queue_intf.ml
spsc_queue_intf.ml))
(package saturn_lockfree))

(library
Expand Down

0 comments on commit be1bf2e

Please sign in to comment.