Alien-Libtensorflow

 view release on metacpan or  search on metacpan

alienfile  view on Meta::CPAN

			$build->runtime_prop->{'device_type'} = $device_type;
		});

		gather sub {
			my($build) = @_;
			my $prefix = $build->runtime_prop->{prefix};

			my $include_path = File::Spec->catfile($prefix, qw(include));
			my $lib_path = File::Spec->catfile($prefix, qw(lib));

			my $cflags = "-I$include_path";
			my @ldlibs = "-ltensorflow";
			my $libs = join " ", "-L$lib_path", @ldlibs;

			$build->runtime_prop->{cflags}  = $cflags;
			$build->runtime_prop->{libs}    = $libs;
		};
	} else {
		requires 'Alien::Bazel';
		plugin 'Download::GitHub' => (
			github_user => 'tensorflow',
			github_repo => 'tensorflow',
		);

		build [



( run in 3.613 seconds using v1.01-cache-2.11-cpan-94b05bcf43c )