Skip to content

Commit

Permalink
start to develop LocalFixedPackageCollector
Browse files Browse the repository at this point in the history
  • Loading branch information
gfngfn committed Feb 14, 2024
1 parent 986f0c8 commit 65c8857
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
7 changes: 7 additions & 0 deletions src-saphe/localFixedPackageCollector.ml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@

open PackageSystemBase


let main (_deps_with_flags : (dependency_flag * package_dependency) list) : (package_dependency list) LocalFixedPackageIdMap.t =
LocalFixedPackageIdMap.empty
(* TODO: construct local_fixed_dependencies by traversing local fixed dependencies *)
3 changes: 1 addition & 2 deletions src-saphe/sapheMain.ml
Original file line number Diff line number Diff line change
Expand Up @@ -837,8 +837,7 @@ let solve ~(fpath_in : string) =
Logging.show_package_dependency_before_solving dependencies_with_flags;

let local_fixed_dependencies =
LocalFixedPackageIdMap.empty
(* TODO: construct local_fixed_dependencies by traversing local fixed dependencies *)
LocalFixedPackageCollector.main dependencies_with_flags
in

(* Arranges the store root config: *)
Expand Down
1 change: 0 additions & 1 deletion src-util/absPath.ml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@ type non_normal_component =
| Component of component
| Current
| Parent
[@@deriving show { with_path = false }]


let make_non_normal_components (uchs : Uchar.t list) : non_normal_component =
Expand Down

0 comments on commit 65c8857

Please sign in to comment.