Skip to content

Comments

Simplify and optimise build process#21

Open
davexparker wants to merge 20 commits intoprismmodelchecker:masterfrom
davexparker:build
Open

Simplify and optimise build process#21
davexparker wants to merge 20 commits intoprismmodelchecker:masterfrom
davexparker:build

Conversation

@davexparker
Copy link
Member

Testing adaptation of prismmodelchecker/prism#272

And remove Makefiles that are unnecessary as a result.
prism/Makefile is now redundant and removed.
Set soname/install_name for libprism and Mac liblpsolve55/liblpsolve55j,
where it was previously missing.

For shared libraries with dependencies (libprism, liblpsolve55j), we also
set rpath so that the linker looks in the same directory for dependencies.

This means that LD_LIBRARY_PATH and DYLD_LIBRARY_PATH are removed from
the bin/prism scripts for Linux/Max, just using -Djava.library.path instead.

This fixes a bunch of issues with Java on Mac (e.g. using jenv) and makes
things generally cleaner and more portable. Also no need to set up the
(DY)LD_LIBRARY_PATH variables for running through IDEs.

Windows/Cygwin is unaffected and continues to need to set/use PATH.
@davexparker davexparker force-pushed the build branch 3 times, most recently from baf469f to 485245e Compare February 16, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant