These are chat archives for libmir/public

2nd
Mar 2017
Prasun Anand
@prasunanand
Mar 02 2017 18:33
Hi, I am getting the following error when I try to compile using dub--compiler=ldc2
Package gsl can be upgraded from 0.1.7 to 0.1.8.
Use "dub upgrade" to perform those changes.
Performing "debug" build using ldc2 for x86_64.
dstats 1.0.3: target for configuration "library" is up to date.
tinyendian 0.1.2: target for configuration "library" is up to date.
dyaml 0.5.3: target for configuration "library" is up to date.
gsl 0.1.7: target for configuration "library" is up to date.
mir-cpuid 0.4.2: target for configuration "library" is up to date.
mir-internal 0.0.2: target for configuration "library" is up to date.
mir-algorithm 0.0.29: target for configuration "library" is up to date.
faster_lmm_d ~master: building configuration "application"...
Running pre-build commands...
The determined compiler type "ldc" doesn't match the expected type "dmd". This will probably result in build errors.
Performing "target-native" build using ldmd2 for x86_64.
mir-glas 0.1.1: building configuration "static"...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/context.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1s.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1d.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1c.d...
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldmd2 failed with exit code 1.
Command failed with exit code 2
I am using ldc-1.2.0 and want to use mir-glas for gemm.
Sebastian Wilzbach
@wilzbach
Mar 02 2017 19:26
Have you tried using --compiler=ldmd2?
Prasun Anand
@prasunanand
Mar 02 2017 21:51
Hi @wilzbach
dub --compiler=ldmd2 leads to the same error
The determined compiler type "ldc" doesn't match the expected type "dmd". This will probably result in build errors.
Package gsl can be upgraded from 0.1.7 to 0.1.8.
Use "dub upgrade" to perform those changes.
Performing "debug" build using ldmd2 for x86_64.
dstats 1.0.3: target for configuration "library" is up to date.
gsl 0.1.7: building configuration "library"...
mir-cpuid 0.4.2: building configuration "library"...
mir-internal 0.0.2: building configuration "library"...
mir-algorithm 0.0.29: building configuration "library"...
faster_lmm_d ~master: building configuration "application"...
Running pre-build commands...
The determined compiler type "ldc" doesn't match the expected type "dmd". This will probably result in build errors.
Performing "target-native" build using ldmd2 for x86_64.
mir-glas 0.1.1: building configuration "static"...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/context.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1d.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1s.d...
Compiling ../../.dub/packages/mir-glas-0.1.1/source/glas/precompiled/l1c.d...
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2: for the -mcpu option: may only occur zero or one times!
ldc2ldc2: for the -: for the -mcpumcpu option:  option: may only occur zero or one times!may only occur zero or one times!

ldc2ldc2: for the -: for the -mcpumcpu option:  option: may only occur zero or one times!may only occur zero or one times!

ldmd2 failed with exit code 1.
Command failed with exit code 2