FreeBSD Bugzilla – Attachment 200240 Details for
Bug 234145
astro/boinc-setiathome: fix build on powerpc64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
boinc-setiathome.patch (text/plain), 8.18 KB, created by
Piotr Kubaj
on 2018-12-18 20:33:58 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2018-12-18 20:33:58 UTC
Size:
8.18 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 487742) >+++ Makefile (working copy) >@@ -18,13 +18,13 @@ > BROKEN_aarch64= fails to link: vector/analyzeFuncs_vector.cpp:(.data+0x38): undefined symbol 'vfp_GetPowerSpectrum(float (*) [2], float*, int)' > BROKEN_armv6= fails to compile: vector/analyzeFuncs_neon.S:178:17: invalid instruction, did you mean: neg? > BROKEN_armv7= fails to compile: vector/analyzeFuncs_neon.S:178:17: invalid instruction, did you mean: neg? >-BROKEN_powerpc64= fails to compile: analyzeFuncs_altivec.cpp: CoreServices/CoreServices.h: No such file or directory > > BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 > RUN_DEPENDS= boinc_client:net/boinc-client > LIB_DEPENDS= libfftw3f.so:math/fftw3-float > >-USES= autoreconf compiler gmake libtool pkgconfig tar:xz >+USES= autoreconf compiler:c++11-lang gmake gnome libtool pkgconfig \ >+ tar:xz > > GNU_CONFIGURE= yes > >@@ -47,7 +47,7 @@ > OPTIONS_SUB= yes > > X11_BUILD_DEPENDS= ${LOCALBASE}/lib/libboinc_graphics2.a:net/boinc-client >-X11_USES= jpeg >+X11_USES= gl jpeg > X11_USE= GL=gl,glu,glut \ > XORG=ice,sm,x11,xau,xcb,xext,xi,xdamage,xdmcp,xfixes,xmu,xt,xxf86vm > X11_CONFIGURE_ENABLE= graphics >Index: files/patch-client_Makefile.am >=================================================================== >--- files/patch-client_Makefile.am (nonexistent) >+++ files/patch-client_Makefile.am (working copy) >@@ -0,0 +1,11 @@ >+--- client/Makefile.am.orig 2018-12-18 10:43:02 UTC >++++ client/Makefile.am >+@@ -203,7 +203,7 @@ if PPC >+ seti_boinc-analyzeFuncs_altivec.o: vector/analyzeFuncs_altivec.cpp >+ if $(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \ >+ $(CPPFLAGS) $(seti_boinc_CXXFLAGS) $(CXXFLAGS) -DUSE_ALTIVEC \ >+- -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -faltivec -mabi=altivec \ >++ -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -maltivec -mabi=altivec \ >+ -c -o $@ $<; then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Po"; \ >+ else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi >+ seti_boinc-analyzeFuncs_vector.o: vector/analyzeFuncs_vector.cpp > >Property changes on: files/patch-client_Makefile.am >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-client_pulsefind.h >=================================================================== >--- files/patch-client_pulsefind.h (nonexistent) >+++ files/patch-client_pulsefind.h (working copy) >@@ -0,0 +1,10 @@ >+--- client/pulsefind.h.orig 2018-12-18 12:03:47 UTC >++++ client/pulsefind.h >+@@ -82,7 +82,6 @@ extern FoldSet AVXfold_c; // in analyzeFuncs_avx >+ extern FoldSet sse_ben_fold; // in analyzeFuncs_sse.cpp >+ extern FoldSet BHSSEfold; // in analyzeFuncs_sse.cpp >+ extern FoldSet AKSSEfold; // in analyzeFuncs_sse.cpp >+-extern FoldSet AKavfold; // in analyzeFuncs_altivec.cpp >+ extern FoldSet swifold; // in Pulsefind - default set >+ extern FoldSet Foldmain; // in Pulsefind - used set >+ > >Property changes on: files/patch-client_pulsefind.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-client_vector_analyzeFuncs__altivec.cpp >=================================================================== >--- files/patch-client_vector_analyzeFuncs__altivec.cpp (nonexistent) >+++ files/patch-client_vector_analyzeFuncs__altivec.cpp (working copy) >@@ -0,0 +1,11 @@ >+--- client/vector/analyzeFuncs_altivec.cpp.orig 2018-01-14 23:02:12 UTC >++++ client/vector/analyzeFuncs_altivec.cpp >+@@ -31,7 +31,7 @@ >+ // This file is empty is USE_ALTIVEC is not defined >+ #include "sah_config.h" >+ >+-#if defined(__ppc__) && defined(USE_ALTIVEC) >++#if defined(__ppc__) && defined(USE_ALTIVEC) && defined(__APPLE__) >+ >+ #define INVALID_CHIRP 2e+20 >+ > >Property changes on: files/patch-client_vector_analyzeFuncs__altivec.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-client_vector_analyzeFuncs__vector.cpp >=================================================================== >--- files/patch-client_vector_analyzeFuncs__vector.cpp (nonexistent) >+++ files/patch-client_vector_analyzeFuncs__vector.cpp (working copy) >@@ -0,0 +1,56 @@ >+--- client/vector/analyzeFuncs_vector.cpp.orig 2018-01-14 23:02:12 UTC >++++ client/vector/analyzeFuncs_vector.cpp >+@@ -101,7 +101,7 @@ >+ #if defined(HAVE__ISNAN) >+ #define isnotnan(x) (!_isnan(x)) >+ #elif defined(HAVE_ISNAN) >+-#define isnotnan(x) (!isnan(x)) >++#define isnotnan(x) (!std::isnan(x)) >+ #elif defined(HAVE___ISNAN) >+ #define isnotnan(x) (!__isnan(x)) >+ #else >+@@ -338,7 +338,7 @@ bool found_baseline_smooth=false; >+ >+ GPStb GetPowerSpectrumFuncs[]={ >+ v_GetPowerSpectrum, BA_ANY, "v_GetPowerSpectrum", >+-#ifdef USE_ALTIVEC >++#if defined(USE_ALTIVEC) && defined(__APPLE__) >+ v_vGetPowerSpectrum, BA_ALTVC, "v_vGetPowerSpectrum", >+ v_vGetPowerSpectrumG4, BA_ALTVC,"v_vGetPowerSpectrumG4", >+ #endif >+@@ -374,7 +374,7 @@ CDtb ChirpDataFuncs[]={ >+ fpu_ChirpData, BA_ANY, "fpu_ChirpData", >+ fpu_opt_ChirpData, BA_ANY, "fpu_opt_ChirpData", >+ #endif >+-#ifdef USE_ALTIVEC >++#if defined(USE_ALTIVEC) && defined(__APPLE__) >+ v_vChirpData, BA_ALTVC, "v_vChirpData", >+ v_vChirpDataG4, BA_ALTVC, "v_vChirpDataG4", >+ v_vChirpDataG5, BA_ALTVC, "v_vChirpDataG5", >+@@ -432,7 +432,7 @@ TPtb TransposeFuncs[]={ >+ #ifdef USE_FFTWF >+ fftwf_transpose, BA_ANY, "fftwf_transpose", >+ #endif >+-#ifdef USE_ALTIVEC >++#if defined(USE_ALTIVEC) && defined(__APPLE__) >+ v_vTranspose, BA_ALTVC, "v_vTranspose", >+ #endif >+ #ifdef USE_SSE >+@@ -461,7 +461,7 @@ TPtb TransposeFuncs[]={ >+ v_avxTranspose8x8ntw_b, BA_AVX, "v_avxTranspose8x8ntw_b", >+ # endif >+ #endif >+-#if (defined(__arm__) && defined(__VFP_FP__) && !defined(__SOFTFP__)) || defined(__arch64__) >++#if (defined(__arm__) && defined(__VFP_FP__) && !defined(__SOFTFP__)) || defined(__aarch64__) >+ v_pfTranspose2, BA_VFP, "v_pfTranspose2", >+ v_pfTranspose4, BA_VFP, "v_pfTranspose4", >+ v_pfTranspose8, BA_VFP, "v_pfTranspose8", >+@@ -476,7 +476,7 @@ bool found_transpose=false; >+ >+ FolSub FoldSubs[] = { >+ &swifold, BA_ANY, >+-#ifdef USE_ALTIVEC >++#if defined(USE_ALTIVEC) && defined(__APPLE__) >+ &AKavfold, BA_ALTVC, >+ #endif >+ #ifdef USE_SSE > >Property changes on: files/patch-client_vector_analyzeFuncs__vector.cpp >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-client_vector_analyzeFuncs__vector.h >=================================================================== >--- files/patch-client_vector_analyzeFuncs__vector.h (nonexistent) >+++ files/patch-client_vector_analyzeFuncs__vector.h (working copy) >@@ -0,0 +1,11 @@ >+--- client/vector/analyzeFuncs_vector.h.orig 2018-12-18 12:22:10 UTC >++++ client/vector/analyzeFuncs_vector.h >+@@ -275,7 +275,7 @@ extern int v_vGetPowerSpectrumUnrolled2( >+ ); >+ #endif >+ >+-#ifdef USE_ALTIVEC >++#if defined(USE_ALTIVEC) && defined(__APPLE) >+ extern int v_vGetPowerSpectrumG4( >+ sah_complex * cx_FreqData, >+ float * fp_PowerSpectrum, > >Property changes on: files/patch-client_vector_analyzeFuncs__vector.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 234145
: 200240