[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #64947] ocl pkg build issue: error: explicit s
From: |
Marius Schamschula |
Subject: |
[Octave-bug-tracker] [bug #64947] ocl pkg build issue: error: explicit specialization of 'array_prog' after instantiation |
Date: |
Wed, 29 Nov 2023 14:33:24 -0500 (EST) |
URL:
<https://savannah.gnu.org/bugs/?64947>
Summary: ocl pkg build issue: error: explicit specialization
of 'array_prog' after instantiation
Group: GNU Octave
Submitter: mschamschula
Submitted: Wed 29 Nov 2023 07:33:22 PM UTC
Category: Octave Forge Package
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Build Failure
Status: None
Assigned to: None
Originator Name: Marius Schamschula
Originator Email:
Open/Closed: Open
Release: 8.4.0
Discussion Lock: Any
Operating System: Mac OS
Fixed Release: None
Planned Release: None
_______________________________________________________
Follow-up Comments:
-------------------------------------------------------
Date: Wed 29 Nov 2023 07:33:22 PM UTC By: Marius Schamschula <mschamschula>
I was attempting to build the new ocl (1.2.2) release under macOS 13.6.1
(arm64) against my MacPorts octave 8.4.0 installation. I get the following
build error:
/usr/bin/clang++ -c -I/opt/local/include
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -fPIC
-I/opt/local/include/octave-8.4.0/octave/..
-I/opt/local/include/octave-8.4.0/octave -I/opt/local/include -pthread -pipe
-Os -std=c++11 -stdlib=libc++
-isysroot/Library/Developer/CommandLineTools/SDKs/MacOSX13.sdk -arch arm64
ocl_array.cc -o ocl_array.o
ocl_array.cc:2066:1: error: explicit specialization of 'array_prog' after
instantiation
SPECIALIZE_OCLARRAY (FloatComplex, single, float2, false, false, true
);
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
^
ocl_array.cc:263:3: note: implicit instantiation first required here
array_prog.set_kernel_arg (kernel_index, 0, *this);
^
ocl_array.cc:2066:1: error: explicit specialization of 'kernel_indices' after
instantiation
SPECIALIZE_OCLARRAY (FloatComplex, single, float2, false, false, true
);
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
template <> std::vector<int> OclArray<T>::kernel_indices = std::vector<int>
(); \
^
ocl_array.cc:261:22: note: implicit instantiation first required here
int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
^
ocl_array.cc:2067:1: error: explicit specialization of 'array_prog' after
instantiation
SPECIALIZE_OCLARRAY (Complex, double, double2, false, false, true
);
^
ocl_array.cc:2049:39: note: expanded from macro 'SPECIALIZE_OCLARRAY'
template <> OclProgram OclArray<T>::array_prog = OclProgram (); \
^
ocl_array.cc:243:3: note: implicit instantiation first required here
array_prog.set_kernel_arg (kernel_index, 0, *this);
^
ocl_array.cc:2067:1: error: explicit specialization of 'kernel_indices' after
instantiation
SPECIALIZE_OCLARRAY (Complex, double, double2, false, false, true
);
^
ocl_array.cc:2050:45: note: expanded from macro 'SPECIALIZE_OCLARRAY'
template <> std::vector<int> OclArray<T>::kernel_indices = std::vector<int>
(); \
^
ocl_array.cc:241:22: note: implicit instantiation first required here
int kernel_index = kernel_indices [OclArrayKernels::real2complex_r];
^
4 errors generated.
make: *** [ocl_array.o] Error 1
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/bugs/?64947>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #64947] ocl pkg build issue: error: explicit specialization of 'array_prog' after instantiation,
Marius Schamschula <=