Skip to content

Commit

Permalink
avoid deprecated jllwrappers syntax for libparse() (#700)
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz authored Aug 17, 2023
1 parent dca346f commit 0050da0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name = "Singular"
uuid = "bcd08a7b-43d2-5ff7-b6d4-c458787f915c"
version = "0.18.11-DEV"
version = "0.18.11"

[deps]
AbstractAlgebra = "c3fe647b-3220-5bb0-a1ea-a7954cac585d"
Expand Down
4 changes: 1 addition & 3 deletions src/setup.jl
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@ function regenerate_libraryfuncdictionary(prefixpath)
for libfile in filenames
libname = Symbol(libfile[1:end - 4]) # strip the '.lib' suffix
full_path = joinpath(library_dir, libfile)
output = Singular_jll.libparse() do exe
read(`$exe $full_path`, String)
end
output = read(`$(Singular_jll.libparse()) $full_path`, String)
libs_splitted = split(output,"\n")[4:end - 1]
libs_splitted = [split(i, " ", keepempty = false) for i in libs_splitted]
dict[libname] = [(j[1], j[3]) for j in libs_splitted]
Expand Down

2 comments on commit 0050da0

@fingolfin
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request created: JuliaRegistries/General/89815

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.18.11 -m "<description of version>" 0050da031472ca91d52ae728d9d13fc68f75bd04
git push origin v0.18.11

Please sign in to comment.