Skip to content

Commit

Permalink
Remove PackageExtensionsCompat (#62)
Browse files Browse the repository at this point in the history
* Remove `PackageExtensionsCompat` dependency

* Forgotten remove
  • Loading branch information
mofeing authored Aug 5, 2024
1 parent b1ea1d7 commit 24152d4
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
2 changes: 0 additions & 2 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ version = "0.1.8"
CEnum = "fa961155-64e5-5f13-b03f-caf6b980ea82"
Enzyme = "7da242da-08ed-463a-9acd-ee780be4f1d9"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
PackageExtensionCompat = "65ce6f38-6b18-4e1d-a461-8949797d7930"
Preferences = "21216c6a-2e73-6563-6e65-726566657250"
Reactant_jll = "0192cb87-2b54-54ad-80e0-3be72ad8a3c0"

Expand All @@ -32,7 +31,6 @@ ArrayInterface = "7.10"
CEnum = "0.4, 0.5"
Enzyme = "0.11, 0.12"
NNlib = "0.9"
PackageExtensionCompat = "1"
Preferences = "1.4"
Reactant_jll = "0.0.14"
julia = "1.9"
Expand Down
5 changes: 0 additions & 5 deletions src/Reactant.jl
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
module Reactant

using PackageExtensionCompat

include("mlir/MLIR.jl")
include("XLA.jl")
include("Interpreter.jl")
Expand Down Expand Up @@ -1001,9 +999,6 @@ end

const registry = Ref{MLIR.IR.DialectRegistry}()
function __init__()
# PackageExtensionCompat: required for weakdeps to work in Julia <1.9
@require_extensions

registry[] = MLIR.IR.DialectRegistry()
@ccall MLIR.API.mlir_c.InitializeRegistryAndPasses(
registry[]::MLIR.API.MlirDialectRegistry
Expand Down

0 comments on commit 24152d4

Please sign in to comment.