@@ -462,9 +462,6 @@ function __init__()
462462 ENV [" OPENBLAS_NUM_THREADS" ] = " 8"
463463 elseif haskey (ENV , " JULIA_CPU_THREADS" ) # or exactly as specified
464464 ENV [" OPENBLAS_NUM_THREADS" ] = cpu_threads
465- elseif haskey (ENV , " JULIA_CPU_CORES" ) # TODO : delete in 1.0 (deprecation)
466- Core. print (" JULIA_CPU_CORES is deprecated, use JULIA_CPU_THREADS instead.\n " )
467- ENV [" OPENBLAS_NUM_THREADS" ] = cpu_threads
468465 end # otherwise, trust that openblas will pick CPU_THREADS anyways, without any intervention
469466 end
470467 # for the few uses of Libc.rand in Base:
545542
546543 print_time (" Stdlibs total" , Base. tot_time_stdlib[])
547544end
548-
549- @eval Base begin
550- @deprecate_binding Test root_module (Base, :Test ) true " , run `using Test` instead"
551- @deprecate_binding Distributed root_module (Base, :Distributed ) true " , run `using Distributed` instead"
552- @deprecate_binding Random root_module (Base, :Random ) true " , run `using Random` instead"
553- @deprecate_binding Serializer root_module (Base, :Serialization ) true " , run `using Serialization` instead"
554-
555- # PR #25571
556- @deprecate_binding LinAlg root_module (Base, :LinearAlgebra ) true " , run `using LinearAlgebra` instead"
557- @deprecate_binding (I, root_module (Base, :LinearAlgebra ). I, true ,
558- " , run `using LinearAlgebra` to load linear algebra functionality." )
559-
560- @deprecate_binding Pkg root_module (Base, :Pkg ) true " , run `using Pkg` instead"
561- @deprecate_binding LibGit2 root_module (Base, :LibGit2 ) true " , run `import LibGit2` instead"
562-
563- @eval @deprecate_stdlib $ (Symbol (" @spawn" )) Distributed true
564- @eval @deprecate_stdlib $ (Symbol (" @spawnat" )) Distributed true
565- @eval @deprecate_stdlib $ (Symbol (" @fetch" )) Distributed true
566- @eval @deprecate_stdlib $ (Symbol (" @fetchfrom" )) Distributed true
567- @eval @deprecate_stdlib $ (Symbol (" @everywhere" )) Distributed true
568- @eval @deprecate_stdlib $ (Symbol (" @parallel" )) Distributed true
569-
570- @deprecate_stdlib addprocs Distributed true
571- @deprecate_stdlib CachingPool Distributed true
572- @deprecate_stdlib clear! Distributed true
573- @deprecate_stdlib ClusterManager Distributed true
574- @deprecate_stdlib default_worker_pool Distributed true
575- @deprecate_stdlib init_worker Distributed true
576- @deprecate_stdlib interrupt Distributed true
577- @deprecate_stdlib launch Distributed true
578- @deprecate_stdlib manage Distributed true
579- @deprecate_stdlib myid Distributed true
580- @deprecate_stdlib nprocs Distributed true
581- @deprecate_stdlib nworkers Distributed true
582- @deprecate_stdlib pmap Distributed true
583- @deprecate_stdlib procs Distributed true
584- @deprecate_stdlib remote Distributed true
585- @deprecate_stdlib remotecall Distributed true
586- @deprecate_stdlib remotecall_fetch Distributed true
587- @deprecate_stdlib remotecall_wait Distributed true
588- @deprecate_stdlib remote_do Distributed true
589- @deprecate_stdlib rmprocs Distributed true
590- @deprecate_stdlib workers Distributed true
591- @deprecate_stdlib WorkerPool Distributed true
592- @deprecate_stdlib RemoteChannel Distributed true
593- @deprecate_stdlib Future Distributed true
594- @deprecate_stdlib WorkerConfig Distributed true
595- @deprecate_stdlib RemoteException Distributed true
596- @deprecate_stdlib ProcessExitedException Distributed true
597-
598- # PR #24874
599- @deprecate_stdlib rand! Random true
600- @deprecate_stdlib srand Random true
601- @deprecate_stdlib AbstractRNG Random true
602- @deprecate_stdlib randcycle Random true
603- @deprecate_stdlib randcycle! Random true
604- @deprecate_stdlib randperm Random true
605- @deprecate_stdlib randperm! Random true
606- @deprecate_stdlib shuffle Random true
607- @deprecate_stdlib shuffle! Random true
608- @deprecate_stdlib randsubseq Random true
609- @deprecate_stdlib randsubseq! Random true
610- @deprecate_stdlib randstring Random true
611- @deprecate_stdlib MersenneTwister Random true
612- @deprecate_stdlib RandomDevice Random true
613- @deprecate_stdlib randn! Random true
614- @deprecate_stdlib randexp Random true
615- @deprecate_stdlib randexp! Random true
616- @deprecate_stdlib bitrand Random true
617- @deprecate_stdlib randjump Random true
618- @deprecate_stdlib GLOBAL_RNG Random false
619-
620- # PR #25571: LinearAlgebra to stdlib
621-
622- # PR #25021
623- @deprecate_stdlib normalize_string Unicode true
624- @deprecate_stdlib graphemes Unicode true
625- @deprecate_stdlib is_assigned_char Unicode true
626- end
627545end
628546
629547# Clear global state
0 commit comments