Comments (5)
Hi Rui,
Please use -DOJPH_DISABLE_INTEL_SIMD=ON when using CMake.
See
https://github.com/aous72/OpenJPH#compiling-for-arm-and-other-platforms
Until I fix this.
This should be merged with #111.
Kind regards,
Aous.
from openjph.
@aous72
I have similar issue but on Linux aarch64.
My compiling option:
%ifarch %{_aarch64}
-DOJPH_DISABLE_INTEL_SIMD=ON \
-DOJPH_ENABLE_INTEL_AVX512=OFF \
and compilation failed with:
make[2]: Leaving directory '/builddir/build/BUILD/OpenJPH-0.10.4/build'
DEBUG util.py:461: /builddir/build/BUILD/OpenJPH-0.10.4/src/core/others/ojph_arch.cpp:61:25: error: invalid output constraint '+b' in asm
DEBUG util.py:461: 61 | __asm__ ( "cpuid" : "+b" (ebx), "+a" (eax), "+c" (ecx), "=d" (edx) );
DEBUG util.py:461: | ^
DEBUG util.py:461: /builddir/build/BUILD/OpenJPH-0.10.4/src/core/others/ojph_arch.cpp:75:26: error: invalid output constraint '=a' in asm
DEBUG util.py:461: 75 | __asm__ ( "xgetbv" : "=a" (eax), "=d" (edx) : "c" (index) );
DEBUG util.py:461: | ^
DEBUG util.py:461: 2 errors generated.
DEBUG util.py:461: make[2]: *** [src/core/CMakeFiles/openjph.dir/build.make:275: src/core/CMakeFiles/openjph.dir/others/ojph_arch.cpp.o] Error 1
DEBUG util.py:461: make[2]: *** Waiting for unfinished jobs....
Full build log: https://file-store.openmandriva.org/api/v1/file_stores/2e4ba3b16fb0207eef510b93159826a164623cb2.log?show=true
from openjph.
Hi Virtuti,
I know that I need to make building for ARM/MacOS more seamless, and I will do that at some point.
However, the build log shows OJPH_ENABLE_INTEL_AVX512=ON and OJPH_DISABLE_INTEL_SIMD NOT used.
Am I reading it the build log correctly?
Kind regards,
Aous.
from openjph.
ah yes, you're right, I missed it. It seems that the macro I used to introduce different compiling parameters for ARM %ifarch %{_aarch64}
had a small mistake, because it should be %{aarch64} without this "_". It now compiles correctly. Thanks.
from openjph.
Please reopen this issue, if the new version has an issue.
Thank you for your help.
Aous
from openjph.
Related Issues (20)
- typo in CMakeLists.txt HOT 1
- ojph_compress support for uppercase file extensions HOT 1
- signed 16bit negative values mismatch in interoperablity test between openjph and kakadu HOT 2
- Incorrect COM marker length HOT 1
- openjph decompression fails HOT 2
- Question : what format to be used to decompress the color HTJ2K compressed imaging data HOT 6
- Build should not fail if SIMD optimizations are enabled and your CPU doesn't support them HOT 2
- Feature: Support ROI based rendering HOT 1
- Sample JPH images, please HOT 5
- Unable to build using MinGW HOT 3
- Support decode/expand a j2c file with just tilepart bytes HOT 2
- Tests fails to pass in version 0.10.4 HOT 2
- Specifying non-standard binary and library directories complicates integration in other projects HOT 1
- Feature Request: Add support for vcpkg HOT 1
- Encode 115x25的YUV444 picture,There is serious distortion. HOT 4
- Automated Testing Improvements HOT 1
- Remove xcode specific files HOT 1
- The block coder should be usable without pulling in the rest of OpenJPH HOT 6
- Removing the ojph_ prefix. HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from openjph.