Skip to content

Some modules support LoongArch64#1401

Open
Panxuefeng-loongson wants to merge 1 commit intobytedeco:masterfrom
Panxuefeng-loongson:support-loongarch
Open

Some modules support LoongArch64#1401
Panxuefeng-loongson wants to merge 1 commit intobytedeco:masterfrom
Panxuefeng-loongson:support-loongarch

Conversation

@Panxuefeng-loongson
Copy link
Copy Markdown

No description provided.

@Panxuefeng-loongson
Copy link
Copy Markdown
Author

@saudet RFR, thanks

Comment thread cpython/platform/pom.xml
<archive>
<manifestEntries>
<Class-Path>${javacpp.moduleId}.jar ${javacpp.moduleId}-linux-armhf.jar ${javacpp.moduleId}-linux-arm64.jar ${javacpp.moduleId}-linux-ppc64le.jar ${javacpp.moduleId}-linux-x86.jar ${javacpp.moduleId}-linux-x86_64.jar ${javacpp.moduleId}-macosx-x86_64.jar ${javacpp.moduleId}-windows-x86.jar ${javacpp.moduleId}-windows-x86_64.jar</Class-Path>
<Class-Path>${javacpp.moduleId}.jar ${javacpp.moduleId}-linux-armhf.jar ${javacpp.moduleId}-linux-arm64.jar ${javacpp.moduleId}-linux-ppc64le.jar ${javacpp.moduleId}-linux-x86.jar ${javacpp.moduleId}-linux-x86_64.jar ${javacpp.moduleId}-linux-loongarch64.jar ${javacpp.moduleId}-macosx-x86_64.jar ${javacpp.moduleId}-windows-x86.jar ${javacpp.moduleId}-windows-x86_64.jar</Class-Path>
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.

Please put linux-loongarch64 after linux-arm64 for consistency, everywhere, here and in all the other files.

#

-cmake_minimum_required(VERSION 3.16)
+cmake_minimum_required(VERSION 3.13.4)
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.

Comment thread ffmpeg/cppbuild.sh
patch -Np1 -d $VO_AMRWBENC < ../../vo-amrwbenc-add-loongarch-cpuinfo.patch
patch -Np1 -d $X264 < ../../x264-stable-add-loongarch-cpuinfo.patch
patch -Np1 -d SVT-AV1-v$SVTAV1_VERSION < ../../change-cmake-version.patch
fi
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.

Can we put all this under the case for linux-loongarch64) below?

Comment thread libdc1394/cppbuild.sh
if [ "$PATCH_ARCH" == "loongarch64" ]; then
patch -Np1 -d libdc1394-$LIBDC1394_VERSION < ../../libdc1394-add-loongarch-cpuinfo.patch
fi

Copy link
Copy Markdown
Member

@saudet saudet Aug 17, 2023

Choose a reason for hiding this comment

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

Here as well, and in all the other cppbuild.sh files below please.

Comment thread opencv/platform/pom.xml
<artifactId>${javacpp.moduleId}</artifactId>
<version>${project.version}</version>
<classifier>${javacpp.platform.linux-loongarch64}</classifier>
</dependency>
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.

We'll need to keep these entries in all platform/pom.xml commented out until we're able to get builds running as part of CI. You can leave them there, but just in comments for now as per other ones in the files.

@Panxuefeng-loongson
Copy link
Copy Markdown
Author

Thanks for wasting your valuable time. I'll make adjustments to the code based on your suggestions

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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants