Closed ihumphrey closed 6 years ago
-fPIC
should be added by default
via the compilers flags, right @isuruf?
PS: you may be getting an older version from before we started using the flag. I cannot see which version you have installed in your conda list above.
Oh, sorry about that, I was looking at my root environment on my dev computer. Here's the conda list
for the package I'm trying to build on Ubuntu18.04 that has a dependency on libnn.a
Here's some more details about the failure I'm having, it's during linking one of the executables:
Yep, nn 1.86.0 2
is an old build. We need to fix the toolchain builds though to get a new package in the old compilers.
Can you try the built with the new compilers? You can install it with:
conda install -c conda-forge conda-forge/label/gcc7::nn
Note that we did not finish the migration to the new compilers yet, so it will take a while for that package to be available in the main channel.
Looks like it worked with the gcc7 build, thanks for all your help! Should there be an issue for getting a new package up for the new compilers?
Also, another quick question if you have time, is there a way to specify this version of nn (the gcc7 label version) within an environment yml file (so I could use conda env create
)?
Should there be an issue for getting a new package up for the new compilers?
The package exists and it is the one you installed :smile:
We are migrating to the new compilers, once the migration is over that package will be the "default" one. You can follow the status of the migration here:
https://conda-forge.org/status/
Also, another quick question if you have time, is there a way to specify this version of nn (the gcc7 label version) within an environment yml file (so I could use conda env create)?
Yep. Same syntax:
- conda-forge/label/gcc7::nn
Issue: Would it be possible to compile the libnn library with position-independent code?
Environment (
conda list
): Linux (Fedora28)Details about
conda
and system (conda info
):