Skip to content

Yices: Use official repository for building the Java bindings#660

Open
daniel-raffler wants to merge 3 commits into
masterfrom
yices2-upstream
Open

Yices: Use official repository for building the Java bindings#660
daniel-raffler wants to merge 3 commits into
masterfrom
yices2-upstream

Conversation

@daniel-raffler

Copy link
Copy Markdown
Contributor

Hello,

this PR changes the build script for Yices so that the Java bindings are built directly from the official repository. We used to have a fork with some changes, but since everything has now been merged into main this will no longer be necessary

(see SRI-CSL/yices2_java_bindings#8 for our pull request)

Our changes have been merged into main, so the fork is no longer needed
Downloading the 'latest' release lead to some path issues in the build script
@baierd baierd self-requested a review June 5, 2026 12:20
<!-- Download a more recent Jdk to avoid compile errors -->
<get src="https://download.oracle.com/java/21/latest/jdk-21_windows-x64_bin.zip" dest="/dependencies" verbose="true"/>
<unzip src="/dependencies/jdk-21_windows-x64_bin.zip" dest="/dependencies"/>
<get src="https://download.oracle.com/java/21/archive/jdk-21.0.10_windows-x64_bin.zip" dest="/dependencies" verbose="true"/>

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@PhilippWendler do we need to add a license of we use Oracle JDKs?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

One always needs a license for every piece of software that one uses.

Whether the current license of the Oracle JDK allows us to use it for free I don't know, you have to check.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Thank you! We will take a look and add the appropriate license if needed.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

What do you mean with "add"? Why and where would you want to "add" a license? The license is specified by Oracle, not us. We need to be given a license that allows us to use the software.

# name of the library
-libyices2java := libyices2java.$(EXTENSION)
+ifeq ($(OS),win32)
+ libyices2java := yices2java.$(EXTENSION)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

libyices2java is hardcoded as a name several times below. Do we need to update those as well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Development

Successfully merging this pull request may close these issues.

3 participants