mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-22 14:17:35 +02:00
use python venv so we can still run make library
This commit is contained in:
@@ -17,6 +17,12 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
default = pkgs.mkShell {
|
default = pkgs.mkShell {
|
||||||
|
# Pip wheels (e.g. numpy in .venv) need common shared libs at runtime on Nix.
|
||||||
|
LD_LIBRARY_PATH = pkgs.lib.makeLibraryPath [
|
||||||
|
pkgs.stdenv.cc.cc.lib
|
||||||
|
pkgs.zlib
|
||||||
|
];
|
||||||
|
|
||||||
packages = [
|
packages = [
|
||||||
# FOSSI PDK ciel (nixpkgs `ciel` is unrelated: AOSC ciel-rs, wants root)
|
# FOSSI PDK ciel (nixpkgs `ciel` is unrelated: AOSC ciel-rs, wants root)
|
||||||
pkgs.pdk-ciel
|
pkgs.pdk-ciel
|
||||||
|
|||||||
@@ -15,5 +15,4 @@ sys.path.append("{}/{}".format(dir_path,'tech_configs'))
|
|||||||
|
|
||||||
if not hasattr(OPTS, 'tech_file'):
|
if not hasattr(OPTS, 'tech_file'):
|
||||||
OPTS.tech_file = 'tech_cypress_cell'
|
OPTS.tech_file = 'tech_cypress_cell'
|
||||||
#TODO: FIX THIS TERRIBLE HACK JUST FOR TESTING
|
|
||||||
exec('from {} import *'.format(OPTS.tech_file))
|
exec('from {} import *'.format(OPTS.tech_file))
|
||||||
|
|||||||
Reference in New Issue
Block a user