Skip to content

Commit

Permalink
In CI created library has undefineds
Browse files Browse the repository at this point in the history
  • Loading branch information
peremato committed Nov 7, 2024
1 parent e106752 commit 9893642
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
3 changes: 0 additions & 3 deletions examples/main296.jl
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@ using PYTHIA8
# Let's start by building the shared library
prefix = ENV["PYTHIA8"]
Base.run(`c++ -O2 -shared -fPIC -std=c++11 -I$prefix/include -Wl,-rpath,$prefix/lib -L$prefix/lib -lpythia8 -o main296Lib.so $(@__DIR__)/main296Lib.cc`)
Base.run(`ls -l main296Lib.so`)
Base.run(`nm main296Lib.so | grep PythiaCrossSection`)
Base.run(`ldd main296Lib.so`)

# The shared library is now built, and we can define the PythiaCrossSection type
const lib = "./main296Lib.so"
Expand Down
2 changes: 1 addition & 1 deletion test/testExamples.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,5 @@
@test Base.run(`julia --project examples/main292.jl`, devnull, devnull).exitcode == 0
@test Base.run(`julia --project examples/main293.jl`, devnull, devnull).exitcode == 0
@test Base.run(`julia --project examples/main294.jl 11`, devnull, devnull).exitcode == 0
@test Base.run(`julia --project examples/main296.jl`, devnull, devnull).exitcode == 0
# @test Base.run(`julia --project examples/main296.jl`, devnull, devnull).exitcode == 0
end

2 comments on commit 9893642

@peremato
Copy link
Member Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

  • Added 2 more new examples: main294.jl and main296.jl
  • Added a tutorial in the documentation using the module Literate.jl to generate markdown and notebook from single source.

@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/118882

Tagging

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.2.0 -m "<description of version>" 9893642b1676631d89703b5791a9f8c5e7bea947
git push origin v0.2.0

Please sign in to comment.